Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="BuildingSystems_BuildingSystems_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.004789/0.004789, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001276/0.001276, allocations: 198.5 kB / 16.67 MB, free: 5.934 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.373/1.373, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00245/0.00245, allocations: 275 kB / 290.8 MB, free: 1.922 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9912/0.9912, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002817/0.002818, allocations: 95.83 kB / 0.681 GB, free: 0 / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1563, allocations: 86.98 MB / 0.7659 GB, free: 8.938 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003238/0.1596, allocations: 2.077 MB / 0.7679 GB, free: 6.848 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001808/0.1614, allocations: 1.177 MB / 0.7691 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.784e-05/0.1616, allocations: 4 kB / 0.7691 GB, free: 5.656 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003895/0.162, allocations: 115.6 kB / 0.7692 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 9.879e-05/0.1621, allocations: 43.59 kB / 0.7693 GB, free: 5.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006918/0.1628, allocations: 263.4 kB / 0.7695 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003623/0.1632, allocations: 311.3 kB / 0.7698 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001793/0.1634, allocations: 102.8 kB / 0.7699 GB, free: 4.84 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.1635, allocations: 111.6 kB / 0.77 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.1637, allocations: 127.5 kB / 0.7701 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.797e-05/0.1637, allocations: 32 kB / 0.7702 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003663/0.1641, allocations: 223.7 kB / 0.7704 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001021/0.1642, allocations: 91.67 kB / 0.7705 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001491/0.1643, allocations: 155.2 kB / 0.7706 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006388/0.165, allocations: 0.5527 MB / 0.7711 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.165, allocations: 0 / 0.7711 GB, free: 3.559 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.082e-06/0.165, allocations: 4 kB / 0.7711 GB, free: 3.555 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.077e-05/0.165, allocations: 0 / 0.7711 GB, free: 3.555 MB / 0.5606 GB 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.00119/0.1662, allocations: 0.8161 MB / 0.7719 GB, free: 2.652 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.012e-05/0.1663, allocations: 20.02 kB / 0.772 GB, free: 2.633 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.062e-05/0.1663, allocations: 42.75 kB / 0.772 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.432e-05/0.1664, allocations: 44.67 kB / 0.772 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003911/0.1668, allocations: 324.5 kB / 0.7724 GB, free: 2.18 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.088e-05/0.1669, allocations: 12.66 kB / 0.7724 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.48e-05/0.1669, allocations: 16.38 kB / 0.7724 GB, free: 2.152 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006047/0.1675, allocations: 295.7 kB / 0.7727 GB, free: 1.859 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.1675, allocations: 4 kB / 0.7727 GB, free: 1.855 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.077e-05/0.1676, allocations: 4 kB / 0.7727 GB, free: 1.852 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.125e-06/0.1676, allocations: 4 kB / 0.7727 GB, free: 1.848 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006465/0.1682, allocations: 272.4 kB / 0.7729 GB, free: 1.582 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000961/0.1692, allocations: 0.6797 MB / 0.7736 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005375/0.1697, allocations: 218.6 kB / 0.7738 GB, free: 0.6289 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003899/0.1701, allocations: 200.7 kB / 0.774 GB, free: 440 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.85e-05/0.1702, allocations: 3.984 kB / 0.774 GB, free: 436 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.753e-05/0.1702, allocations: 34.55 kB / 0.774 GB, free: 392 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=14): time 1.482e-06/0.1702, allocations: 0 / 0.774 GB, free: 392 kB / 0.5606 GB Notification: Performance of matching and sorting (n=14): time 0.2799/0.4501, allocations: 0.6662 MB / 0.7747 GB, free: 15.01 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.4502, allocations: 135.6 kB / 0.7748 GB, free: 14.85 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004868/0.4507, allocations: 384.7 kB / 0.7752 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.172e-05/0.4508, allocations: 32.86 kB / 0.7752 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.396e-05/0.4509, allocations: 170.6 kB / 0.7754 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.275e-05/0.4509, allocations: 41.8 kB / 0.7754 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.326e-05/0.451, allocations: 49.08 kB / 0.7755 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 7.289e-05/0.4511, allocations: 344.1 kB / 0.7758 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004448/0.4515, allocations: 236 kB / 0.776 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004316/0.452, allocations: 238.2 kB / 0.7762 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008647/0.4529, allocations: 0.6799 MB / 0.7769 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.4529, allocations: 0.6562 kB / 0.7769 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001102/0.454, allocations: 0.7359 MB / 0.7776 GB, free: 13.7 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 8.076e-05/0.4541, allocations: 188.4 kB / 0.7778 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.233e-06/0.4541, allocations: 0.8906 kB / 0.7778 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/0.4541, allocations: 0.9375 kB / 0.7778 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001718/0.4543, allocations: 29.2 kB / 0.7778 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.4543, allocations: 4.344 kB / 0.7778 GB, free: 13.51 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002133/0.4545, allocations: 45.77 kB / 0.7779 GB, free: 13.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.678e-05/0.4545, allocations: 9.812 kB / 0.7779 GB, free: 13.5 MB / 0.5606 GB 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.0001831/0.4547, allocations: 257.9 kB / 0.7781 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.768e-05/0.4548, allocations: 34.91 kB / 0.7782 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.044e-05/0.4549, allocations: 27.72 kB / 0.7782 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.617e-06/0.4549, allocations: 2.031 kB / 0.7782 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.4549, allocations: 3.516 kB / 0.7782 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.4549, allocations: 4.203 kB / 0.7782 GB, free: 13.22 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003335/0.4552, allocations: 348.1 kB / 0.7785 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.4552, allocations: 0 / 0.7785 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001529/0.4554, allocations: 35.64 kB / 0.7786 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.415e-06/0.4554, allocations: 1.875 kB / 0.7786 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.18e-05/0.4554, allocations: 9.203 kB / 0.7786 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.4554, allocations: 1.062 kB / 0.7786 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.4554, allocations: 0.6094 kB / 0.7786 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008998/0.4563, allocations: 0.6159 MB / 0.7792 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.024e-05/0.4564, allocations: 112.1 kB / 0.7793 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.43e-05/0.4565, allocations: 8.344 kB / 0.7793 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002137/0.4567, allocations: 26.86 kB / 0.7793 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.4568, allocations: 32.84 kB / 0.7794 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.926e-05/0.4568, allocations: 7.219 kB / 0.7794 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0002724/0.4571, allocations: 271.2 kB / 0.7796 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.6e-07/0.4571, allocations: 1 kB / 0.7796 GB, free: 12.35 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004092/0.4575, allocations: 108.6 kB / 0.7797 GB, free: 12.34 MB / 0.5606 GB 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.001285/0.4588, allocations: 1.226 MB / 0.7809 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001061/0.4599, allocations: 0.8349 MB / 0.7817 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4599, allocations: 0 / 0.7817 GB, free: 10.94 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0004442/0.4604, allocations: 378.4 kB / 0.7821 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004409/0.4608, allocations: 66.94 kB / 0.7822 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004816/0.4656, allocations: 4.44 MB / 0.7865 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001827/0.4659, allocations: 0.785 MB / 0.7873 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 9.943e-05/0.466, allocations: 23.62 kB / 0.7873 GB, free: 7.59 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.4661, allocations: 89.95 kB / 0.7874 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of SimCode: time 5.81e-07/0.4661, allocations: 0 / 0.7874 GB, free: 7.52 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03085/0.4969, allocations: 8.749 MB / 0.7959 GB, free: 6.805 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.006/8.503, allocations: 5.969 kB / 0.7959 GB, free: 6.801 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)