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: "" <> buildModelFMU(IBPSA.Electrical.DC.Loads.Examples.VariableLoad,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_VariableLoad",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Electrical.DC.Loads.Examples.VariableLoad,fileNamePrefix="IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_VariableLoad",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001395/0.001395, allocations: 107.9 kB / 16.41 MB, free: 6.484 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.001404/0.001404, allocations: 193.2 kB / 17.34 MB, free: 5.762 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.348/1.348, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7025/0.7025, allocations: 115.3 MB / 406.5 MB, free: 6.227 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 65.38 kB / 0.5572 GB, free: 32.48 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1442, allocations: 76.18 MB / 0.6316 GB, free: 4.938 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Electrical.DC.Loads.Examples.VariableLoad): time 0.006263/0.1505, allocations: 3.838 MB / 0.6353 GB, free: 1.078 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.003216/0.1538, allocations: 1.769 MB / 0.637 GB, free: 15.3 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000289/0.1541, allocations: 4 kB / 0.637 GB, free: 15.3 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001478/0.1556, allocations: 460.7 kB / 0.6375 GB, free: 14.85 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007155/0.1564, allocations: 242.8 kB / 0.6377 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006773/0.1571, allocations: 251.5 kB / 0.638 GB, free: 14.36 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007381/0.1578, allocations: 0.4983 MB / 0.6384 GB, free: 13.86 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000681/0.1585, allocations: 367.7 kB / 0.6388 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003278/0.1588, allocations: 191.3 kB / 0.639 GB, free: 13.31 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004818/0.1593, allocations: 239.1 kB / 0.6392 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.938e-05/0.1594, allocations: 28 kB / 0.6392 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004326/0.1598, allocations: 187.6 kB / 0.6394 GB, free: 12.87 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000148/0.16, allocations: 127.7 kB / 0.6395 GB, free: 12.74 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002132/0.1602, allocations: 187 kB / 0.6397 GB, free: 12.56 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006375/0.1609, allocations: 499.2 kB / 0.6402 GB, free: 12.07 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.05e-06/0.1609, allocations: 0 / 0.6402 GB, free: 12.07 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.983e-06/0.1609, allocations: 0 / 0.6402 GB, free: 12.07 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.283e-05/0.1609, allocations: 0 / 0.6402 GB, free: 12.07 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.001232/0.1622, allocations: 0.651 MB / 0.6408 GB, free: 11.37 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.907e-05/0.1622, allocations: 12.03 kB / 0.6408 GB, free: 11.36 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.738e-05/0.1623, allocations: 74.66 kB / 0.6409 GB, free: 11.28 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000555/0.1629, allocations: 92.38 kB / 0.641 GB, free: 11.19 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004288/0.1633, allocations: 291.6 kB / 0.6413 GB, free: 10.86 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.6e-05/0.1634, allocations: 25.02 kB / 0.6413 GB, free: 10.84 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.502e-05/0.1634, allocations: 24.38 kB / 0.6413 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007922/0.1642, allocations: 493.8 kB / 0.6418 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.6e-05/0.1642, allocations: 7.938 kB / 0.6418 GB, free: 10.3 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.265e-05/0.1643, allocations: 15.98 kB / 0.6418 GB, free: 10.28 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.624e-05/0.1643, allocations: 40.62 kB / 0.6418 GB, free: 10.24 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007673/0.1651, allocations: 362.3 kB / 0.6422 GB, free: 9.887 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002137/0.1673, allocations: 2.037 MB / 0.6442 GB, free: 7.648 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005659/0.1678, allocations: 206.7 kB / 0.6444 GB, free: 7.438 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003749/0.1682, allocations: 156.8 kB / 0.6445 GB, free: 7.281 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.41e-05/0.1683, allocations: 3.984 kB / 0.6445 GB, free: 7.277 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.484e-05/0.1683, allocations: 38.5 kB / 0.6446 GB, free: 7.23 MB / 494.1 MB Notification: Performance of pre-optimization done (n=18): time 1.372e-06/0.1683, allocations: 0 / 0.6446 GB, free: 7.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=18): time 0.001098/0.1694, allocations: 420.6 kB / 0.645 GB, free: 6.793 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.977e-05/0.1694, allocations: 55.41 kB / 0.645 GB, free: 6.727 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002784/0.1697, allocations: 254.7 kB / 0.6453 GB, free: 6.469 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.588e-05/0.1698, allocations: 33.7 kB / 0.6453 GB, free: 6.43 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001874/0.17, allocations: 211.6 kB / 0.6455 GB, free: 6.219 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.74e-05/0.17, allocations: 67.09 kB / 0.6456 GB, free: 6.152 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001108/0.1702, allocations: 57.89 kB / 0.6456 GB, free: 6.086 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001743/0.1703, allocations: 342.7 kB / 0.6459 GB, free: 5.742 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002686/0.1706, allocations: 101.9 kB / 0.646 GB, free: 5.641 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003309/0.171, allocations: 207.6 kB / 0.6462 GB, free: 5.387 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005896/0.1716, allocations: 315.1 kB / 0.6465 GB, free: 5.031 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/0.1716, allocations: 0 / 0.6465 GB, free: 5.031 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0008259/0.1724, allocations: 357.7 kB / 0.6469 GB, free: 4.672 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.959e-05/0.1724, allocations: 4 kB / 0.6469 GB, free: 4.668 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.119e-05/0.1725, allocations: 4 kB / 0.6469 GB, free: 4.664 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002294/0.1727, allocations: 45.17 kB / 0.6469 GB, free: 4.617 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002839/0.173, allocations: 63.84 kB / 0.647 GB, free: 4.555 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/0.1744, allocations: 1.447 MB / 0.6484 GB, free: 2.973 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002705/0.1747, allocations: 39.67 kB / 0.6484 GB, free: 2.934 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.229e-05/0.1748, allocations: 12.09 kB / 0.6485 GB, free: 2.922 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003566/0.1751, allocations: 216.6 kB / 0.6487 GB, free: 2.707 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003371/0.1755, allocations: 213 kB / 0.6489 GB, free: 2.441 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005841/0.1761, allocations: 317.9 kB / 0.6492 GB, free: 2.078 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.605e-06/0.1761, allocations: 4 kB / 0.6492 GB, free: 2.074 MB / 494.1 MB Notification: Performance of matching and sorting (n=33) (initialization_lambda0): time 0.0006751/0.1768, allocations: 341.2 kB / 0.6495 GB, free: 1.734 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.023e-05/0.1768, allocations: 4 kB / 0.6495 GB, free: 1.73 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.1768, allocations: 8 kB / 0.6495 GB, free: 1.723 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.653e-06/0.1768, allocations: 4 kB / 0.6495 GB, free: 1.719 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002685/0.1771, allocations: 71.83 kB / 0.6496 GB, free: 1.648 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.968e-06/0.1771, allocations: 8 kB / 0.6496 GB, free: 1.641 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002327/0.1773, allocations: 27.83 kB / 0.6496 GB, free: 1.613 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.456e-05/0.1774, allocations: 16 kB / 0.6496 GB, free: 1.598 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.0001458/0.1775, allocations: 215.7 kB / 0.6498 GB, free: 1.383 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.404e-05/0.1776, allocations: 23.72 kB / 0.6499 GB, free: 1.359 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.005e-05/0.1777, allocations: 30.17 kB / 0.6499 GB, free: 1.324 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1777, allocations: 4 kB / 0.6499 GB, free: 1.32 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.597e-06/0.1777, allocations: 0 / 0.6499 GB, free: 1.32 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.1777, allocations: 0 / 0.6499 GB, free: 1.32 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001222/0.1789, allocations: 0.7615 MB / 0.6506 GB, free: 492 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.1789, allocations: 4 kB / 0.6506 GB, free: 488 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001826/0.1791, allocations: 39.91 kB / 0.6507 GB, free: 448 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001136/0.1792, allocations: 32.84 kB / 0.6507 GB, free: 412 kB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.736e-05/0.1793, allocations: 4 kB / 0.6507 GB, free: 408 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001222/0.1805, allocations: 1.422 MB / 0.6521 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1805, allocations: 3.938 kB / 0.6521 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006958/0.1812, allocations: 359.8 kB / 0.6525 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001322/0.1813, allocations: 124.7 kB / 0.6526 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.141e-05/0.1814, allocations: 4 kB / 0.6526 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001851/0.1816, allocations: 11.98 kB / 0.6526 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.903e-05/0.1817, allocations: 31.84 kB / 0.6526 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.695e-05/0.1817, allocations: 4 kB / 0.6526 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001792/0.1819, allocations: 189.9 kB / 0.6528 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1819, allocations: 0 / 0.6528 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006101/0.1825, allocations: 135.6 kB / 0.6529 GB, free: 13.95 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.0009604/0.1835, allocations: 0.9008 MB / 0.6538 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001176/0.1847, allocations: 0.4888 MB / 0.6543 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.566e-06/0.1847, allocations: 0 / 0.6543 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004146/0.1851, allocations: 222.5 kB / 0.6545 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005618/0.1857, allocations: 81.2 kB / 0.6546 GB, free: 12.21 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004349/0.19, allocations: 2.873 MB / 0.6574 GB, free: 9.145 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003986/0.1904, allocations: 0.8035 MB / 0.6582 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002083/0.1907, allocations: 66.17 kB / 0.6582 GB, free: 8.25 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001418/0.1908, allocations: 87.41 kB / 0.6583 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of SimCode: time 4.51e-07/0.1908, allocations: 4 kB / 0.6583 GB, free: 8.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02609/0.2169, allocations: 6.408 MB / 0.6646 GB, free: 1.906 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.78/11, allocations: 8.938 kB / 0.6646 GB, free: 1.898 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_VariableLoad_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Electrical_DC_Loads_Examples_VariableLoad.fmu > IBPSA_latest_IBPSA.Electrical.DC.Loads.Examples.VariableLoad.pipe 2>&1)