Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad") translateModel(IBPSA.Electrical.DC.Loads.Examples.VariableLoad,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 104.9 kB / 16.4 MB, free: 6.508 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00156/0.00156, allocations: 193.2 kB / 17.34 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7032/0.7032, allocations: 115.3 MB / 406.5 MB, free: 6.137 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001233, allocations: 65.58 kB / 0.5577 GB, free: 32.41 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1609/0.1622, allocations: 76.18 MB / 0.6321 GB, free: 4.539 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.VariableLoad): time 0.005384/0.1676, allocations: 3.825 MB / 0.6358 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002753/0.1704, allocations: 1.773 MB / 0.6375 GB, free: 14.91 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002002/0.1706, allocations: 11.94 kB / 0.6375 GB, free: 14.9 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001325/0.172, allocations: 454.2 kB / 0.638 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000542/0.1725, allocations: 242.8 kB / 0.6382 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006069/0.1731, allocations: 254.5 kB / 0.6384 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004875/0.1736, allocations: 0.4906 MB / 0.6389 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000556/0.1742, allocations: 372.8 kB / 0.6393 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002093/0.1744, allocations: 195.4 kB / 0.6395 GB, free: 12.92 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003351/0.1748, allocations: 235.1 kB / 0.6397 GB, free: 12.69 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.679e-05/0.1748, allocations: 32 kB / 0.6397 GB, free: 12.66 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002941/0.1751, allocations: 183.6 kB / 0.6399 GB, free: 12.48 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001271/0.1752, allocations: 131.7 kB / 0.64 GB, free: 12.35 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000175/0.1754, allocations: 183.1 kB / 0.6402 GB, free: 12.17 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005116/0.1759, allocations: 494.4 kB / 0.6407 GB, free: 11.68 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.176, allocations: 7.938 kB / 0.6407 GB, free: 11.68 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.223e-06/0.176, allocations: 0 / 0.6407 GB, free: 11.68 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.426e-06/0.176, allocations: 0 / 0.6407 GB, free: 11.68 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 82 * Number of variables: 82 Notification: Performance of Generate backend data structure: time 0.001133/0.1771, allocations: 0.6549 MB / 0.6413 GB, free: 10.97 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.1772, allocations: 12.02 kB / 0.6413 GB, free: 10.96 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007198/0.1779, allocations: 84.36 kB / 0.6414 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003675/0.1783, allocations: 303.5 kB / 0.6417 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.329e-05/0.1783, allocations: 21.03 kB / 0.6417 GB, free: 10.52 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.354e-05/0.1784, allocations: 32.36 kB / 0.6417 GB, free: 10.49 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007772/0.1792, allocations: 489.9 kB / 0.6422 GB, free: 9.984 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.299e-05/0.1792, allocations: 8 kB / 0.6422 GB, free: 9.977 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.498e-05/0.1792, allocations: 12 kB / 0.6422 GB, free: 9.965 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.415e-05/0.1793, allocations: 36.62 kB / 0.6423 GB, free: 9.93 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007258/0.18, allocations: 366.2 kB / 0.6426 GB, free: 9.57 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002018/0.182, allocations: 2.037 MB / 0.6446 GB, free: 7.332 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005495/0.1826, allocations: 218.6 kB / 0.6448 GB, free: 7.109 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003637/0.183, allocations: 152.8 kB / 0.645 GB, free: 6.957 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.183, allocations: 0 / 0.645 GB, free: 6.957 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.451e-05/0.183, allocations: 38.56 kB / 0.645 GB, free: 6.91 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.343e-06/0.1831, allocations: 0 / 0.645 GB, free: 6.91 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.001409/0.1845, allocations: 424.4 kB / 0.6454 GB, free: 6.469 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.1845, allocations: 55.41 kB / 0.6455 GB, free: 6.402 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003618/0.1849, allocations: 258.7 kB / 0.6457 GB, free: 6.141 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/0.1849, allocations: 29.7 kB / 0.6457 GB, free: 6.105 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001572/0.1851, allocations: 211.6 kB / 0.6459 GB, free: 5.895 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.664e-05/0.1852, allocations: 71.08 kB / 0.646 GB, free: 5.824 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001212/0.1853, allocations: 53.89 kB / 0.6461 GB, free: 5.762 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000208/0.1855, allocations: 342.8 kB / 0.6464 GB, free: 5.418 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00034/0.1859, allocations: 97.91 kB / 0.6465 GB, free: 5.32 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004275/0.1863, allocations: 205.6 kB / 0.6467 GB, free: 5.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007636/0.1871, allocations: 313.5 kB / 0.647 GB, free: 4.715 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.1871, allocations: 0 / 0.647 GB, free: 4.715 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.001055/0.1882, allocations: 363.3 kB / 0.6473 GB, free: 4.352 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.1882, allocations: 4 kB / 0.6473 GB, free: 4.348 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.107e-06/0.1882, allocations: 4 kB / 0.6473 GB, free: 4.344 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002671/0.1885, allocations: 37.31 kB / 0.6474 GB, free: 4.305 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003901/0.1889, allocations: 67.83 kB / 0.6474 GB, free: 4.238 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001591/0.1905, allocations: 1.441 MB / 0.6488 GB, free: 2.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003551/0.1909, allocations: 43.77 kB / 0.6489 GB, free: 2.617 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.7e-05/0.1909, allocations: 12 kB / 0.6489 GB, free: 2.605 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004775/0.1914, allocations: 216.6 kB / 0.6491 GB, free: 2.391 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000419/0.1918, allocations: 217 kB / 0.6493 GB, free: 2.121 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007058/0.1926, allocations: 315.1 kB / 0.6496 GB, free: 1.758 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.478e-06/0.1926, allocations: 4 kB / 0.6496 GB, free: 1.754 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0009276/0.1935, allocations: 337.1 kB / 0.6499 GB, free: 1.418 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.347e-05/0.1935, allocations: 8 kB / 0.6499 GB, free: 1.41 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.261e-06/0.1935, allocations: 4 kB / 0.6499 GB, free: 1.406 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.354e-06/0.1936, allocations: 4 kB / 0.6499 GB, free: 1.402 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003589/0.1939, allocations: 71.89 kB / 0.65 GB, free: 1.332 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.194, allocations: 11.94 kB / 0.65 GB, free: 1.32 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003145/0.1943, allocations: 28.05 kB / 0.65 GB, free: 1.293 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.327e-05/0.1943, allocations: 20 kB / 0.6501 GB, free: 1.273 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (32): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001629/0.1945, allocations: 207.6 kB / 0.6503 GB, free: 1.066 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.313e-05/0.1946, allocations: 31.73 kB / 0.6503 GB, free: 1.035 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.984e-05/0.1947, allocations: 22.19 kB / 0.6503 GB, free: 1.008 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.1947, allocations: 4 kB / 0.6503 GB, free: 1.004 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.1947, allocations: 0 / 0.6503 GB, free: 1.004 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.124e-06/0.1947, allocations: 3.984 kB / 0.6503 GB, free: 1 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001589/0.1963, allocations: 0.7558 MB / 0.6511 GB, free: 172 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.1963, allocations: 4 kB / 0.6511 GB, free: 168 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002528/0.1966, allocations: 44.03 kB / 0.6511 GB, free: 124 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000165/0.1968, allocations: 24.84 kB / 0.6511 GB, free: 96 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.335e-05/0.1968, allocations: 4 kB / 0.6511 GB, free: 92 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001313/0.1981, allocations: 1.422 MB / 0.6525 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.1981, allocations: 0 / 0.6525 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008517/0.199, allocations: 371.7 kB / 0.6529 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001388/0.1992, allocations: 116.8 kB / 0.653 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.852e-05/0.1992, allocations: 0 / 0.653 GB, free: 14.01 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002644/0.1995, allocations: 19.98 kB / 0.653 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.288e-05/0.1996, allocations: 15.98 kB / 0.653 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.201e-05/0.1996, allocations: 15.86 kB / 0.653 GB, free: 13.96 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002311/0.1998, allocations: 182 kB / 0.6532 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.11e-07/0.1999, allocations: 3.938 kB / 0.6532 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00092/0.2008, allocations: 143.5 kB / 0.6533 GB, free: 13.64 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0001634/0.201, allocations: 107.2 kB / 0.6535 GB, free: 13.52 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001432/0.2024, allocations: 498.1 kB / 0.6539 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.2024, allocations: 0 / 0.6539 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004505/0.2029, allocations: 218.6 kB / 0.6541 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007015/0.2036, allocations: 71.61 kB / 0.6542 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001244/0.2048, allocations: 0.5449 MB / 0.6547 GB, free: 12.16 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003368/0.2052, allocations: 0.8035 MB / 0.6555 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002095/0.2054, allocations: 74.31 kB / 0.6556 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.777e-05/0.2055, allocations: 23.44 kB / 0.6556 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of SimCode: time 6.12e-07/0.2055, allocations: 0 / 0.6556 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of Templates: time 0.00932/0.2148, allocations: 3.572 MB / 0.6591 GB, free: 7.699 MB / 0.4981 GB make -j1 -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.makefile (rm -f IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe ; mkfifo IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe >> ../files/IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.sim & ./IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)