Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.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.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",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.001131/0.001131, allocations: 103.3 kB / 16.4 MB, free: 6.492 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.001126/0.001126, allocations: 195.8 kB / 17.34 MB, free: 5.766 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.272/1.272, 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.6855/0.6855, allocations: 115.3 MB / 406.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 64.91 kB / 0.5572 GB, free: 32.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.147/0.1482, allocations: 76.18 MB / 0.6316 GB, free: 4.906 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003542/0.1518, allocations: 2.074 MB / 0.6336 GB, free: 2.816 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.00201/0.1539, allocations: 1.169 MB / 0.6348 GB, free: 1.637 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002358/0.1541, allocations: 4 kB / 0.6348 GB, free: 1.633 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004889/0.1546, allocations: 119.3 kB / 0.6349 GB, free: 1.516 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001989/0.1549, allocations: 43.59 kB / 0.6349 GB, free: 1.473 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008806/0.1558, allocations: 269.2 kB / 0.6352 GB, free: 1.215 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004563/0.1563, allocations: 311.3 kB / 0.6355 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002178/0.1565, allocations: 95.03 kB / 0.6356 GB, free: 0.8164 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001706/0.1567, allocations: 111.6 kB / 0.6357 GB, free: 0.707 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002035/0.1569, allocations: 127.5 kB / 0.6358 GB, free: 0.582 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 7.327e-05/0.157, allocations: 32 kB / 0.6358 GB, free: 0.5508 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004047/0.1574, allocations: 227.7 kB / 0.636 GB, free: 336 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00012/0.1575, allocations: 95.67 kB / 0.6361 GB, free: 240 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001676/0.1577, allocations: 151.1 kB / 0.6363 GB, free: 88 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007042/0.1584, allocations: 0.5539 MB / 0.6368 GB, free: 15.53 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.1584, allocations: 0 / 0.6368 GB, free: 15.53 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.083e-06/0.1584, allocations: 0 / 0.6368 GB, free: 15.53 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.252e-05/0.1584, allocations: 0 / 0.6368 GB, free: 15.53 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: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001281/0.1597, allocations: 0.8049 MB / 0.6376 GB, free: 14.64 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.1598, allocations: 12.03 kB / 0.6376 GB, free: 14.63 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.042e-05/0.1598, allocations: 46.75 kB / 0.6377 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.866e-05/0.1599, allocations: 40.45 kB / 0.6377 GB, free: 14.54 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004013/0.1603, allocations: 320.4 kB / 0.638 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.185e-05/0.1604, allocations: 20.53 kB / 0.638 GB, free: 14.16 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.494e-05/0.1604, allocations: 16.38 kB / 0.638 GB, free: 14.15 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005729/0.161, allocations: 298.8 kB / 0.6383 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.161, allocations: 4 kB / 0.6383 GB, free: 13.85 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.228e-05/0.161, allocations: 8 kB / 0.6383 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.595e-06/0.1611, allocations: 4 kB / 0.6383 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005897/0.1616, allocations: 272.4 kB / 0.6386 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009654/0.1626, allocations: 0.6679 MB / 0.6393 GB, free: 12.85 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000501/0.1631, allocations: 226.6 kB / 0.6395 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003556/0.1635, allocations: 184.7 kB / 0.6396 GB, free: 12.44 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.854e-05/0.1635, allocations: 11.94 kB / 0.6397 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/0.1636, allocations: 38.55 kB / 0.6397 GB, free: 12.38 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 2.986e-06/0.1636, allocations: 3.984 kB / 0.6397 GB, free: 12.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.001239/0.1648, allocations: 0.6701 MB / 0.6404 GB, free: 11.68 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.637e-05/0.1649, allocations: 132.5 kB / 0.6405 GB, free: 11.52 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004004/0.1653, allocations: 380.4 kB / 0.6408 GB, free: 11.14 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.836e-05/0.1653, allocations: 33.7 kB / 0.6409 GB, free: 11.1 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000113/0.1655, allocations: 172.3 kB / 0.641 GB, free: 10.93 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.151e-05/0.1655, allocations: 39.45 kB / 0.6411 GB, free: 10.89 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.128e-05/0.1656, allocations: 45.7 kB / 0.6411 GB, free: 10.84 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.1657, allocations: 342.8 kB / 0.6414 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004682/0.1662, allocations: 239.8 kB / 0.6417 GB, free: 10.26 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003991/0.1666, allocations: 239.8 kB / 0.6419 GB, free: 10.03 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008639/0.1675, allocations: 0.6938 MB / 0.6426 GB, free: 9.277 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.1675, allocations: 0 / 0.6426 GB, free: 9.277 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001028/0.1685, allocations: 0.7245 MB / 0.6433 GB, free: 8.512 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001123/0.1687, allocations: 187.9 kB / 0.6435 GB, free: 8.293 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.1687, allocations: 0 / 0.6435 GB, free: 8.293 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.738e-05/0.1687, allocations: 4 kB / 0.6435 GB, free: 8.289 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/0.1689, allocations: 35.91 kB / 0.6435 GB, free: 8.254 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/0.1689, allocations: 3.938 kB / 0.6435 GB, free: 8.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002147/0.1691, allocations: 43.66 kB / 0.6436 GB, free: 8.207 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.89e-05/0.1691, allocations: 8 kB / 0.6436 GB, free: 8.199 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (mod.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002231/0.1694, allocations: 262.8 kB / 0.6438 GB, free: 7.914 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.462e-05/0.1695, allocations: 27.72 kB / 0.6438 GB, free: 7.887 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.567e-05/0.1695, allocations: 30.94 kB / 0.6439 GB, free: 7.848 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.016e-06/0.1695, allocations: 0 / 0.6439 GB, free: 7.848 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/0.1695, allocations: 0 / 0.6439 GB, free: 7.848 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.1695, allocations: 4 kB / 0.6439 GB, free: 7.844 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003441/0.1699, allocations: 349.2 kB / 0.6442 GB, free: 7.453 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.1699, allocations: 0 / 0.6442 GB, free: 7.453 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/0.1701, allocations: 27.97 kB / 0.6442 GB, free: 7.426 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/0.1701, allocations: 4 kB / 0.6442 GB, free: 7.422 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/0.1701, allocations: 4 kB / 0.6442 GB, free: 7.418 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.1701, allocations: 0 / 0.6442 GB, free: 7.418 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.1701, allocations: 7.938 kB / 0.6442 GB, free: 7.41 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008848/0.171, allocations: 0.6268 MB / 0.6449 GB, free: 6.75 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.247e-05/0.1711, allocations: 108.7 kB / 0.645 GB, free: 6.625 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.62e-05/0.1712, allocations: 8 kB / 0.645 GB, free: 6.617 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002139/0.1714, allocations: 31.95 kB / 0.645 GB, free: 6.586 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.1715, allocations: 31.91 kB / 0.645 GB, free: 6.555 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.975e-05/0.1715, allocations: 8 kB / 0.645 GB, free: 6.547 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002639/0.1718, allocations: 271 kB / 0.6453 GB, free: 6.285 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1718, allocations: 4 kB / 0.6453 GB, free: 6.281 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004247/0.1722, allocations: 99.98 kB / 0.6454 GB, free: 6.184 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 3 (mod.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0014/0.1736, allocations: 1.221 MB / 0.6466 GB, free: 4.918 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.00108/0.1747, allocations: 0.8282 MB / 0.6474 GB, free: 4.016 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.1748, allocations: 0 / 0.6474 GB, free: 4.016 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004436/0.1752, allocations: 378.1 kB / 0.6478 GB, free: 3.609 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004433/0.1757, allocations: 73.81 kB / 0.6478 GB, free: 3.535 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005594/0.1813, allocations: 4.422 MB / 0.6521 GB, free: 15 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003553/0.1816, allocations: 0.7947 MB / 0.6529 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.000104/0.1818, allocations: 21.94 kB / 0.6529 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001252/0.1819, allocations: 87.41 kB / 0.653 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of SimCode: time 8.11e-07/0.1819, allocations: 0 / 0.653 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02821/0.2101, allocations: 8.872 MB / 0.6617 GB, free: 5.414 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.766/7.976, allocations: 13.78 kB / 0.6617 GB, free: 5.402 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)