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.0008734/0.0008735, allocations: 99.05 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000906/0.000906, allocations: 184.2 kB / 16.92 MB, free: 6.777 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.244/1.244, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6123/0.6123, allocations: 115.5 MB / 407.6 MB, free: 2.758 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002647/0.0002647, allocations: 12 kB / 496 MB, free: 6.266 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1141/0.1144, allocations: 77.53 MB / 0.5601 GB, free: 8.941 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.001932/0.1164, allocations: 1.774 MB / 0.5618 GB, free: 7.156 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001629/0.118, allocations: 1.197 MB / 0.563 GB, free: 5.949 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.659e-05/0.1181, allocations: 4 kB / 0.563 GB, free: 5.945 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003147/0.1185, allocations: 99.53 kB / 0.5631 GB, free: 5.848 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 9.69e-05/0.1186, allocations: 35.72 kB / 0.5631 GB, free: 5.812 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005404/0.1191, allocations: 207.7 kB / 0.5633 GB, free: 5.609 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002399/0.1194, allocations: 259.3 kB / 0.5635 GB, free: 5.355 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.1195, allocations: 99.25 kB / 0.5636 GB, free: 5.258 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.233e-05/0.1196, allocations: 75.64 kB / 0.5637 GB, free: 5.184 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001268/0.1198, allocations: 107.5 kB / 0.5638 GB, free: 5.078 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.725e-05/0.1198, allocations: 8 kB / 0.5638 GB, free: 5.07 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002764/0.1201, allocations: 203.7 kB / 0.564 GB, free: 4.871 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.032e-05/0.1202, allocations: 79.73 kB / 0.5641 GB, free: 4.793 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001179/0.1203, allocations: 148.9 kB / 0.5642 GB, free: 4.641 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004485/0.1207, allocations: 0.5139 MB / 0.5647 GB, free: 4.125 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.257e-06/0.1208, allocations: 0 / 0.5647 GB, free: 4.125 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1208, allocations: 0 / 0.5647 GB, free: 4.125 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.931e-06/0.1208, allocations: 0 / 0.5647 GB, free: 4.125 MB / 430.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.0009324/0.1217, allocations: 0.7661 MB / 0.5655 GB, free: 3.273 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.1218, allocations: 12.02 kB / 0.5655 GB, free: 3.262 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.676e-05/0.1218, allocations: 54.75 kB / 0.5655 GB, free: 3.199 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.053e-05/0.1219, allocations: 36.55 kB / 0.5656 GB, free: 3.164 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003329/0.1222, allocations: 320.4 kB / 0.5659 GB, free: 2.809 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.661e-05/0.1223, allocations: 20.66 kB / 0.5659 GB, free: 2.789 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.887e-05/0.1223, allocations: 16.38 kB / 0.5659 GB, free: 2.773 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005677/0.1229, allocations: 315 kB / 0.5662 GB, free: 2.461 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.604e-06/0.1229, allocations: 0 / 0.5662 GB, free: 2.461 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.543e-05/0.1229, allocations: 8 kB / 0.5662 GB, free: 2.453 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.062e-06/0.1229, allocations: 4 kB / 0.5662 GB, free: 2.449 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006371/0.1236, allocations: 296.4 kB / 0.5665 GB, free: 2.16 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008532/0.1244, allocations: 0.6987 MB / 0.5672 GB, free: 1.41 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004991/0.1249, allocations: 238.6 kB / 0.5674 GB, free: 1.168 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003774/0.1253, allocations: 208.7 kB / 0.5676 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.389e-05/0.1253, allocations: 0 / 0.5676 GB, free: 0.9609 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.359e-05/0.1254, allocations: 38.55 kB / 0.5677 GB, free: 0.9141 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.002e-06/0.1254, allocations: 3.938 kB / 0.5677 GB, free: 0.9102 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.00127/0.1267, allocations: 0.7197 MB / 0.5684 GB, free: 172 kB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.883e-05/0.1267, allocations: 136.5 kB / 0.5685 GB, free: 4 kB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003824/0.1271, allocations: 376.5 kB / 0.5688 GB, free: 15.63 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.488e-05/0.1272, allocations: 37.7 kB / 0.5689 GB, free: 15.59 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.843e-05/0.1273, allocations: 164.3 kB / 0.569 GB, free: 15.42 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.883e-05/0.1273, allocations: 51.3 kB / 0.5691 GB, free: 15.37 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.106e-05/0.1274, allocations: 25.7 kB / 0.5691 GB, free: 15.34 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001027/0.1275, allocations: 342.8 kB / 0.5694 GB, free: 15 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004242/0.1279, allocations: 259.8 kB / 0.5697 GB, free: 14.74 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000403/0.1283, allocations: 255.3 kB / 0.5699 GB, free: 14.5 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008657/0.1292, allocations: 0.7147 MB / 0.5706 GB, free: 13.72 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.1292, allocations: 0 / 0.5706 GB, free: 13.72 MB / 446.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001003/0.1302, allocations: 0.7609 MB / 0.5714 GB, free: 12.92 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.828e-05/0.1303, allocations: 178.2 kB / 0.5715 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1303, allocations: 0 / 0.5715 GB, free: 12.71 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.433e-05/0.1303, allocations: 8.094 kB / 0.5715 GB, free: 12.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001624/0.1305, allocations: 39.91 kB / 0.5716 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.1305, allocations: 4 kB / 0.5716 GB, free: 12.66 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002114/0.1307, allocations: 55.66 kB / 0.5716 GB, free: 12.6 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.238e-05/0.1308, allocations: 8 kB / 0.5717 GB, free: 12.59 MB / 446.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.0001932/0.131, allocations: 266.8 kB / 0.5719 GB, free: 12.3 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.286e-05/0.131, allocations: 31.62 kB / 0.5719 GB, free: 12.27 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.372e-05/0.1311, allocations: 26.94 kB / 0.572 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.1311, allocations: 4 kB / 0.572 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.918e-06/0.1311, allocations: 0 / 0.572 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.375e-06/0.1311, allocations: 0 / 0.572 GB, free: 12.24 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002924/0.1314, allocations: 345.3 kB / 0.5723 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.263e-06/0.1314, allocations: 0 / 0.5723 GB, free: 11.86 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001565/0.1316, allocations: 39.97 kB / 0.5723 GB, free: 11.82 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.737e-06/0.1316, allocations: 4 kB / 0.5723 GB, free: 11.81 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.1316, allocations: 4 kB / 0.5723 GB, free: 11.81 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1316, allocations: 0 / 0.5723 GB, free: 11.81 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1316, allocations: 0 / 0.5723 GB, free: 11.81 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000888/0.1325, allocations: 0.6562 MB / 0.573 GB, free: 11.12 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.81e-05/0.1326, allocations: 116.6 kB / 0.5731 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.706e-05/0.1326, allocations: 4 kB / 0.5731 GB, free: 10.98 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002199/0.1328, allocations: 43.97 kB / 0.5731 GB, free: 10.94 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.513e-05/0.1329, allocations: 31.95 kB / 0.5732 GB, free: 10.91 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.133, allocations: 4 kB / 0.5732 GB, free: 10.9 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002438/0.1332, allocations: 271 kB / 0.5734 GB, free: 10.64 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.1e-07/0.1332, allocations: 0 / 0.5734 GB, free: 10.64 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003572/0.1336, allocations: 107.9 kB / 0.5735 GB, free: 10.53 MB / 446.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.001282/0.1349, allocations: 1.252 MB / 0.5748 GB, free: 9.234 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001047/0.1359, allocations: 0.8673 MB / 0.5756 GB, free: 8.293 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1359, allocations: 0 / 0.5756 GB, free: 8.293 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004729/0.1364, allocations: 402.9 kB / 0.576 GB, free: 7.863 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003877/0.1368, allocations: 57.41 kB / 0.576 GB, free: 7.809 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005245/0.1421, allocations: 4.603 MB / 0.5805 GB, free: 3.086 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.1424, allocations: 0.7831 MB / 0.5813 GB, free: 2.277 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.766e-05/0.1425, allocations: 25.94 kB / 0.5813 GB, free: 2.254 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001135/0.1426, allocations: 87.41 kB / 0.5814 GB, free: 2.168 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.1426, allocations: 4 kB / 0.5814 GB, free: 2.164 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5899/0.7325, allocations: 7.924 MB / 0.5892 GB, free: 30.67 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000185/0.7327, allocations: 232.7 kB / 0.5894 GB, free: 30.42 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.034/2.766, allocations: 0 / 0.5894 GB, free: 30.42 MB / 446.1 MB (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)