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.001083/0.001083, allocations: 105 kB / 16.4 MB, free: 6.504 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.001114/0.001114, allocations: 192 kB / 17.34 MB, free: 5.742 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.277/1.277, 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.6861/0.6861, allocations: 115.3 MB / 406.5 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 70.05 kB / 0.5577 GB, free: 32.26 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1287, allocations: 76.18 MB / 0.6321 GB, free: 4.445 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.VariableLoad): time 0.005116/0.1338, allocations: 3.834 MB / 0.6358 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002739/0.1366, allocations: 1.769 MB / 0.6375 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001711/0.1368, allocations: 11.94 kB / 0.6375 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001174/0.138, allocations: 456.9 kB / 0.638 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005079/0.1385, allocations: 246.8 kB / 0.6382 GB, free: 14.11 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005809/0.1391, allocations: 247.5 kB / 0.6384 GB, free: 13.87 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005313/0.1397, allocations: 0.4945 MB / 0.6389 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005469/0.1402, allocations: 368.8 kB / 0.6393 GB, free: 13.01 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002009/0.1404, allocations: 191.4 kB / 0.6395 GB, free: 12.82 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004155/0.1408, allocations: 243.1 kB / 0.6397 GB, free: 12.58 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 4.653e-05/0.1409, allocations: 28 kB / 0.6397 GB, free: 12.55 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002872/0.1412, allocations: 179.6 kB / 0.6399 GB, free: 12.38 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.1413, allocations: 131.7 kB / 0.64 GB, free: 12.25 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001451/0.1415, allocations: 179.1 kB / 0.6402 GB, free: 12.07 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005031/0.142, allocations: 498.4 kB / 0.6407 GB, free: 11.59 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.142, allocations: 4 kB / 0.6407 GB, free: 11.58 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.142, allocations: 4 kB / 0.6407 GB, free: 11.58 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.138e-06/0.142, allocations: 0 / 0.6407 GB, free: 11.58 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.001004/0.143, allocations: 0.6471 MB / 0.6413 GB, free: 10.88 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.1431, allocations: 8.031 kB / 0.6413 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005204/0.1436, allocations: 88.41 kB / 0.6414 GB, free: 10.79 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003634/0.144, allocations: 303.5 kB / 0.6417 GB, free: 10.45 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.302e-05/0.144, allocations: 32.94 kB / 0.6417 GB, free: 10.42 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.359e-05/0.1441, allocations: 28.38 kB / 0.6417 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007616/0.1448, allocations: 490 kB / 0.6422 GB, free: 9.887 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.1449, allocations: 0 / 0.6422 GB, free: 9.887 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.601e-05/0.1449, allocations: 15.98 kB / 0.6422 GB, free: 9.871 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.436e-05/0.145, allocations: 40.62 kB / 0.6423 GB, free: 9.832 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006994/0.1457, allocations: 366.2 kB / 0.6426 GB, free: 9.473 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001931/0.1476, allocations: 2.033 MB / 0.6446 GB, free: 7.238 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005394/0.1482, allocations: 214.6 kB / 0.6448 GB, free: 7.02 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003972/0.1486, allocations: 152.8 kB / 0.645 GB, free: 6.867 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.148e-05/0.1486, allocations: 4 kB / 0.645 GB, free: 6.863 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.899e-05/0.1486, allocations: 30.56 kB / 0.645 GB, free: 6.824 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.283e-06/0.1486, allocations: 0 / 0.645 GB, free: 6.824 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.001033/0.1497, allocations: 428.7 kB / 0.6454 GB, free: 6.379 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.1497, allocations: 55.41 kB / 0.6454 GB, free: 6.312 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002115/0.1499, allocations: 258.7 kB / 0.6457 GB, free: 6.051 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/0.1499, allocations: 29.7 kB / 0.6457 GB, free: 6.016 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001118/0.1501, allocations: 215.6 kB / 0.6459 GB, free: 5.801 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.523e-05/0.1501, allocations: 67.09 kB / 0.646 GB, free: 5.734 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.775e-05/0.1502, allocations: 61.89 kB / 0.6461 GB, free: 5.664 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001058/0.1503, allocations: 334.8 kB / 0.6464 GB, free: 5.328 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002372/0.1506, allocations: 97.92 kB / 0.6465 GB, free: 5.23 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002908/0.1509, allocations: 211.5 kB / 0.6467 GB, free: 4.973 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000505/0.1514, allocations: 311.2 kB / 0.647 GB, free: 4.621 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.1514, allocations: 4 kB / 0.647 GB, free: 4.617 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0007029/0.1521, allocations: 357.9 kB / 0.6473 GB, free: 4.258 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.1521, allocations: 8 kB / 0.6473 GB, free: 4.25 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.1521, allocations: 4 kB / 0.6473 GB, free: 4.246 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001752/0.1523, allocations: 28.84 kB / 0.6473 GB, free: 4.215 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002752/0.1526, allocations: 76.08 kB / 0.6474 GB, free: 4.141 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001094/0.1537, allocations: 1.433 MB / 0.6488 GB, free: 2.57 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002258/0.1539, allocations: 43.61 kB / 0.6489 GB, free: 2.527 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.212e-05/0.154, allocations: 16 kB / 0.6489 GB, free: 2.512 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003113/0.1543, allocations: 220.6 kB / 0.6491 GB, free: 2.293 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002886/0.1546, allocations: 213 kB / 0.6493 GB, free: 2.027 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0004862/0.1551, allocations: 318 kB / 0.6496 GB, free: 1.664 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.593e-06/0.1551, allocations: 0 / 0.6496 GB, free: 1.664 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006156/0.1557, allocations: 332.8 kB / 0.6499 GB, free: 1.332 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.157e-05/0.1557, allocations: 14.36 kB / 0.6499 GB, free: 1.32 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.1557, allocations: 4 kB / 0.6499 GB, free: 1.316 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.599e-06/0.1557, allocations: 8 kB / 0.6499 GB, free: 1.309 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002652/0.156, allocations: 71.91 kB / 0.65 GB, free: 1.238 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.156, allocations: 11.92 kB / 0.65 GB, free: 1.227 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/0.1563, allocations: 35.77 kB / 0.65 GB, free: 1.191 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.642e-05/0.1563, allocations: 12 kB / 0.6501 GB, free: 1.18 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.0001106/0.1564, allocations: 203.6 kB / 0.6503 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.534e-05/0.1564, allocations: 27.72 kB / 0.6503 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.15e-05/0.1565, allocations: 34.17 kB / 0.6503 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1565, allocations: 0 / 0.6503 GB, free: 0.9102 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.1565, allocations: 4 kB / 0.6503 GB, free: 0.9062 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.729e-06/0.1565, allocations: 3.984 kB / 0.6503 GB, free: 0.9023 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001067/0.1576, allocations: 0.7537 MB / 0.6511 GB, free: 72 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.864e-06/0.1576, allocations: 0 / 0.6511 GB, free: 72 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001754/0.1578, allocations: 35.97 kB / 0.6511 GB, free: 36 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.367e-05/0.1579, allocations: 28.89 kB / 0.6511 GB, free: 4 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.1579, allocations: 12.05 kB / 0.6511 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008972/0.1588, allocations: 1.418 MB / 0.6525 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.1588, allocations: 4.031 kB / 0.6525 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005747/0.1594, allocations: 371.5 kB / 0.6529 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.624e-05/0.1595, allocations: 112.8 kB / 0.653 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.861e-05/0.1596, allocations: 8 kB / 0.653 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.1597, allocations: 15.98 kB / 0.653 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.941e-05/0.1598, allocations: 11.98 kB / 0.653 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.3e-05/0.1598, allocations: 11.94 kB / 0.653 GB, free: 13.87 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001577/0.16, allocations: 186 kB / 0.6532 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/0.16, allocations: 0 / 0.6532 GB, free: 13.69 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004971/0.1605, allocations: 143.5 kB / 0.6533 GB, free: 13.55 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 8.722e-05/0.1606, allocations: 103.1 kB / 0.6534 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009291/0.1615, allocations: 0.4899 MB / 0.6539 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.1615, allocations: 320 / 0.6539 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003126/0.1618, allocations: 222.6 kB / 0.6541 GB, free: 12.71 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004419/0.1623, allocations: 71.94 kB / 0.6542 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007562/0.1631, allocations: 0.5551 MB / 0.6547 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003395/0.1634, allocations: 0.8034 MB / 0.6555 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0001802/0.1636, allocations: 66.23 kB / 0.6556 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.742e-05/0.1637, allocations: 27.44 kB / 0.6556 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1637, allocations: 0 / 0.6556 GB, free: 11.13 MB / 0.4981 GB Notification: Performance of Templates: time 0.006403/0.1701, allocations: 3.558 MB / 0.6591 GB, free: 7.609 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)