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.002026/0.002026, allocations: 109.1 kB / 16.41 MB, free: 6.496 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.002378/0.002378, allocations: 195.8 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.393/1.393, 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.7887/0.7887, allocations: 126.7 MB / 417.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 73 kB / 0.5736 GB, free: 27.04 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.13/0.1319, allocations: 78.86 MB / 0.6506 GB, free: 3.605 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003328/0.1352, allocations: 2.077 MB / 0.6526 GB, free: 1.516 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001855/0.1371, allocations: 1.177 MB / 0.6537 GB, free: 340 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001064/0.1372, allocations: 8 kB / 0.6537 GB, free: 332 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003969/0.1377, allocations: 111.3 kB / 0.6539 GB, free: 220 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001033/0.1378, allocations: 47.58 kB / 0.6539 GB, free: 172 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007497/0.1385, allocations: 253.9 kB / 0.6541 GB, free: 15.92 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0003864/0.1389, allocations: 323.2 kB / 0.6545 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000188/0.1391, allocations: 103 kB / 0.6545 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001207/0.1393, allocations: 111.6 kB / 0.6547 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001795/0.1395, allocations: 127.5 kB / 0.6548 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.082e-05/0.1395, allocations: 28 kB / 0.6548 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003864/0.1399, allocations: 231.7 kB / 0.655 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.14, allocations: 83.75 kB / 0.6551 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001499/0.1402, allocations: 151.2 kB / 0.6552 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006604/0.1408, allocations: 0.5566 MB / 0.6558 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.1409, allocations: 0 / 0.6558 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.913e-06/0.1409, allocations: 0 / 0.6558 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.1409, allocations: 0 / 0.6558 GB, free: 14.23 MB / 0.4981 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.001217/0.1421, allocations: 0.8239 MB / 0.6566 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.1422, allocations: 12.03 kB / 0.6566 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.902e-05/0.1422, allocations: 50.67 kB / 0.6567 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.096e-05/0.1423, allocations: 36.7 kB / 0.6567 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003959/0.1427, allocations: 324.6 kB / 0.657 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.096e-05/0.1427, allocations: 16.41 kB / 0.657 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.334e-05/0.1428, allocations: 20 kB / 0.657 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006019/0.1434, allocations: 290.7 kB / 0.6573 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.358e-06/0.1434, allocations: 4 kB / 0.6573 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.118e-05/0.1434, allocations: 4 kB / 0.6573 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.1434, allocations: 4 kB / 0.6573 GB, free: 12.52 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006715/0.1441, allocations: 280.3 kB / 0.6576 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009751/0.1451, allocations: 0.6603 MB / 0.6582 GB, free: 11.53 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005604/0.1457, allocations: 234.5 kB / 0.6585 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003961/0.1461, allocations: 188.7 kB / 0.6586 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/0.1461, allocations: 8 kB / 0.6586 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.905e-05/0.1462, allocations: 34.56 kB / 0.6587 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=14): time 1.814e-06/0.1462, allocations: 0 / 0.6587 GB, free: 11.05 MB / 0.4981 GB Notification: Performance of matching and sorting (n=14): time 0.001433/0.1476, allocations: 0.678 MB / 0.6593 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.89e-05/0.1477, allocations: 140.5 kB / 0.6595 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004708/0.1482, allocations: 380.5 kB / 0.6598 GB, free: 9.809 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.1482, allocations: 33.64 kB / 0.6599 GB, free: 9.77 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001401/0.1484, allocations: 164.5 kB / 0.66 GB, free: 9.605 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.076e-05/0.1484, allocations: 51.56 kB / 0.6601 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.869e-05/0.1485, allocations: 45.7 kB / 0.6601 GB, free: 9.504 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.1487, allocations: 350.7 kB / 0.6605 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000476/0.1492, allocations: 239.7 kB / 0.6607 GB, free: 8.918 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004467/0.1497, allocations: 240.1 kB / 0.6609 GB, free: 8.688 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.1507, allocations: 0.6814 MB / 0.6616 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.1507, allocations: 0 / 0.6616 GB, free: 7.949 MB / 0.4981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001143/0.1518, allocations: 0.729 MB / 0.6623 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001322/0.152, allocations: 190.2 kB / 0.6625 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.152, allocations: 0 / 0.6625 GB, free: 6.957 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.859e-05/0.152, allocations: 4 kB / 0.6625 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/0.1522, allocations: 23.97 kB / 0.6625 GB, free: 6.93 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.1522, allocations: 4 kB / 0.6625 GB, free: 6.926 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002184/0.1524, allocations: 55.67 kB / 0.6626 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.47e-05/0.1525, allocations: 8 kB / 0.6626 GB, free: 6.863 MB / 0.4981 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.0002414/0.1527, allocations: 254.9 kB / 0.6628 GB, free: 6.586 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.669e-05/0.1528, allocations: 31.81 kB / 0.6628 GB, free: 6.555 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.502e-05/0.1529, allocations: 26.94 kB / 0.6629 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.1529, allocations: 0 / 0.6629 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.558e-06/0.1529, allocations: 0 / 0.6629 GB, free: 6.527 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.111e-06/0.1529, allocations: 15.86 kB / 0.6629 GB, free: 6.512 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003829/0.1533, allocations: 337.4 kB / 0.6632 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1533, allocations: 0 / 0.6632 GB, free: 6.133 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.1534, allocations: 31.97 kB / 0.6632 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.1535, allocations: 0 / 0.6632 GB, free: 6.102 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.345e-05/0.1535, allocations: 11.98 kB / 0.6632 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.1535, allocations: 0 / 0.6632 GB, free: 6.09 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.1535, allocations: 4 kB / 0.6632 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.1545, allocations: 0.6212 MB / 0.6639 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001029/0.1547, allocations: 116.8 kB / 0.664 GB, free: 5.297 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.229e-05/0.1547, allocations: 4 kB / 0.664 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000213/0.1549, allocations: 27.97 kB / 0.664 GB, free: 5.266 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001204/0.1551, allocations: 35.89 kB / 0.664 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.068e-05/0.1551, allocations: 7.938 kB / 0.664 GB, free: 5.223 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000299/0.1554, allocations: 275 kB / 0.6643 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1554, allocations: 0 / 0.6643 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004136/0.1558, allocations: 107.8 kB / 0.6644 GB, free: 4.848 MB / 0.4981 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.001515/0.1573, allocations: 1.205 MB / 0.6656 GB, free: 3.598 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001201/0.1586, allocations: 0.8398 MB / 0.6664 GB, free: 2.684 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.37e-06/0.1586, allocations: 4 kB / 0.6664 GB, free: 2.68 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0005285/0.1591, allocations: 378 kB / 0.6668 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004365/0.1595, allocations: 75.55 kB / 0.6668 GB, free: 2.203 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005991/0.1655, allocations: 4.419 MB / 0.6712 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003985/0.166, allocations: 0.787 MB / 0.6719 GB, free: 12.85 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001016/0.1661, allocations: 17.95 kB / 0.6719 GB, free: 12.83 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001437/0.1662, allocations: 94.78 kB / 0.672 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of SimCode: time 7.51e-07/0.1662, allocations: 0 / 0.672 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03113/0.1974, allocations: 8.734 MB / 0.6806 GB, free: 4.227 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.282/8.479, allocations: 7.922 kB / 0.6806 GB, free: 4.219 MB / 0.5137 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)