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.001397/0.001397, allocations: 107.2 kB / 16.4 MB, free: 6.445 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.001483/0.001484, allocations: 195.9 kB / 17.34 MB, free: 5.719 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.332/1.332, 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.7499/0.7499, allocations: 115.3 MB / 406.5 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 62.03 kB / 0.5572 GB, free: 32.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1571, allocations: 76.17 MB / 0.6316 GB, free: 4.922 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.004465/0.1616, allocations: 2.084 MB / 0.6336 GB, free: 2.824 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.002226/0.1638, allocations: 1.173 MB / 0.6348 GB, free: 1.641 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002343/0.1641, allocations: 4 kB / 0.6348 GB, free: 1.637 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004911/0.1646, allocations: 111.4 kB / 0.6349 GB, free: 1.527 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002686/0.1649, allocations: 59.5 kB / 0.6349 GB, free: 1.469 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.166, allocations: 250.3 kB / 0.6352 GB, free: 1.227 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005606/0.1665, allocations: 323.2 kB / 0.6355 GB, free: 0.9102 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002066/0.1668, allocations: 83.06 kB / 0.6356 GB, free: 0.8281 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001643/0.1669, allocations: 115.6 kB / 0.6357 GB, free: 0.7148 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001942/0.1671, allocations: 127.5 kB / 0.6358 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 6.015e-05/0.1672, allocations: 28 kB / 0.6358 GB, free: 0.5625 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003927/0.1676, allocations: 235.7 kB / 0.636 GB, free: 340 kB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.1677, allocations: 91.73 kB / 0.6361 GB, free: 248 kB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001547/0.1679, allocations: 151.1 kB / 0.6363 GB, free: 96 kB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007273/0.1686, allocations: 0.55 MB / 0.6368 GB, free: 15.54 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1687, allocations: 0 / 0.6368 GB, free: 15.54 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1687, allocations: 0 / 0.6368 GB, free: 15.54 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.329e-05/0.1687, allocations: 0 / 0.6368 GB, free: 15.54 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.001455/0.1701, allocations: 0.8049 MB / 0.6376 GB, free: 14.65 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.587e-05/0.1702, allocations: 8.031 kB / 0.6376 GB, free: 14.64 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.343e-05/0.1703, allocations: 50.73 kB / 0.6377 GB, free: 14.59 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.976e-05/0.1704, allocations: 36.47 kB / 0.6377 GB, free: 14.55 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004683/0.1708, allocations: 320.4 kB / 0.638 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.724e-05/0.1709, allocations: 20.59 kB / 0.638 GB, free: 14.18 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.339e-05/0.1709, allocations: 28.36 kB / 0.638 GB, free: 14.15 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006072/0.1715, allocations: 294.7 kB / 0.6383 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.1716, allocations: 3.938 kB / 0.6383 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.542e-05/0.1716, allocations: 16 kB / 0.6383 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.615e-06/0.1716, allocations: 4 kB / 0.6383 GB, free: 13.84 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006556/0.1723, allocations: 268.4 kB / 0.6386 GB, free: 13.57 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00103/0.1733, allocations: 0.6757 MB / 0.6393 GB, free: 12.85 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005227/0.1738, allocations: 222.6 kB / 0.6395 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003763/0.1742, allocations: 188.7 kB / 0.6397 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.338e-05/0.1742, allocations: 4 kB / 0.6397 GB, free: 12.43 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.006e-05/0.1743, allocations: 38.56 kB / 0.6397 GB, free: 12.38 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.472e-06/0.1743, allocations: 3.938 kB / 0.6397 GB, free: 12.38 MB / 494.1 MB Notification: Performance of matching and sorting (n=14): time 0.001316/0.1756, allocations: 0.6691 MB / 0.6404 GB, free: 11.69 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.721e-05/0.1757, allocations: 140.5 kB / 0.6405 GB, free: 11.52 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003976/0.1761, allocations: 380.4 kB / 0.6409 GB, free: 11.14 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.736e-05/0.1761, allocations: 29.7 kB / 0.6409 GB, free: 11.11 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.1763, allocations: 168.3 kB / 0.641 GB, free: 10.94 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.402e-05/0.1763, allocations: 39.45 kB / 0.6411 GB, free: 10.9 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.056e-05/0.1764, allocations: 45.7 kB / 0.6411 GB, free: 10.85 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001251/0.1765, allocations: 350.8 kB / 0.6415 GB, free: 10.5 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000439/0.177, allocations: 235.8 kB / 0.6417 GB, free: 10.27 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004136/0.1774, allocations: 231.9 kB / 0.6419 GB, free: 10.04 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009154/0.1783, allocations: 0.6972 MB / 0.6426 GB, free: 9.285 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.1784, allocations: 4 kB / 0.6426 GB, free: 9.281 MB / 494.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001053/0.1794, allocations: 0.7245 MB / 0.6433 GB, free: 8.516 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001174/0.1795, allocations: 183.6 kB / 0.6435 GB, free: 8.301 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-06/0.1795, allocations: 0 / 0.6435 GB, free: 8.301 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.547e-05/0.1796, allocations: 0 / 0.6435 GB, free: 8.301 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001622/0.1797, allocations: 27.97 kB / 0.6435 GB, free: 8.273 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.1798, allocations: 3.984 kB / 0.6435 GB, free: 8.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002204/0.18, allocations: 51.66 kB / 0.6436 GB, free: 8.219 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.623e-05/0.18, allocations: 8 kB / 0.6436 GB, free: 8.211 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.0002311/0.1803, allocations: 266.8 kB / 0.6438 GB, free: 7.922 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.623e-05/0.1803, allocations: 23.72 kB / 0.6438 GB, free: 7.898 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.619e-05/0.1804, allocations: 30.94 kB / 0.6439 GB, free: 7.859 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.637e-06/0.1804, allocations: 0 / 0.6439 GB, free: 7.859 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1804, allocations: 0 / 0.6439 GB, free: 7.859 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.288e-06/0.1804, allocations: 0 / 0.6439 GB, free: 7.859 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003578/0.1808, allocations: 357.2 kB / 0.6442 GB, free: 7.461 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.1808, allocations: 0 / 0.6442 GB, free: 7.461 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001657/0.181, allocations: 31.97 kB / 0.6442 GB, free: 7.43 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.181, allocations: 0 / 0.6442 GB, free: 7.43 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.263e-05/0.181, allocations: 4 kB / 0.6442 GB, free: 7.426 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.181, allocations: 0 / 0.6442 GB, free: 7.426 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.181, allocations: 3.938 kB / 0.6442 GB, free: 7.422 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009768/0.182, allocations: 0.6288 MB / 0.6449 GB, free: 6.758 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.024e-05/0.1821, allocations: 112.7 kB / 0.645 GB, free: 6.629 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.318e-05/0.1821, allocations: 4 kB / 0.645 GB, free: 6.625 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002165/0.1824, allocations: 31.97 kB / 0.645 GB, free: 6.594 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.1825, allocations: 31.91 kB / 0.645 GB, free: 6.562 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.822e-05/0.1825, allocations: 4 kB / 0.645 GB, free: 6.559 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0002825/0.1828, allocations: 283 kB / 0.6453 GB, free: 6.285 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1828, allocations: 0 / 0.6453 GB, free: 6.285 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004281/0.1832, allocations: 96 kB / 0.6454 GB, free: 6.191 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.001437/0.1847, allocations: 1.221 MB / 0.6466 GB, free: 4.926 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.001126/0.1858, allocations: 0.8307 MB / 0.6474 GB, free: 4.023 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.013e-06/0.1858, allocations: 4 kB / 0.6474 GB, free: 4.02 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004941/0.1863, allocations: 374 kB / 0.6478 GB, free: 3.617 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004543/0.1868, allocations: 79.11 kB / 0.6478 GB, free: 3.539 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005752/0.1926, allocations: 4.424 MB / 0.6522 GB, free: 15 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/0.193, allocations: 0.7869 MB / 0.6529 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.928e-05/0.1931, allocations: 21.95 kB / 0.6529 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001292/0.1932, allocations: 87.41 kB / 0.653 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of SimCode: time 6.11e-07/0.1932, allocations: 0 / 0.653 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02593/0.2192, allocations: 8.872 MB / 0.6617 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.709/7.928, allocations: 19.52 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)