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.0006949/0.0006949, allocations: 94.03 kB / 15.7 MB, free: 448 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.0007341/0.0007342, allocations: 171.9 kB / 16.58 MB, free: 6.887 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.184/1.184, allocations: 223.3 MB / 240.6 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5982/0.5982, allocations: 113.7 MB / 405.4 MB, free: 4.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002713/0.0002713, allocations: 12 kB / 493.2 MB, free: 8.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1178, allocations: 77.11 MB / 0.5569 GB, free: 11.64 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.00181/0.1197, allocations: 1.723 MB / 0.5586 GB, free: 9.914 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001346/0.121, allocations: 1.081 MB / 0.5596 GB, free: 8.824 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.573e-05/0.1211, allocations: 4 kB / 0.5596 GB, free: 8.82 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002575/0.1214, allocations: 95.55 kB / 0.5597 GB, free: 8.727 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.472e-05/0.1215, allocations: 35.72 kB / 0.5598 GB, free: 8.691 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004498/0.1219, allocations: 183.7 kB / 0.5599 GB, free: 8.512 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002139/0.1222, allocations: 251.3 kB / 0.5602 GB, free: 8.266 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.1223, allocations: 65.88 kB / 0.5602 GB, free: 8.199 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.792e-05/0.1224, allocations: 83.64 kB / 0.5603 GB, free: 8.117 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001157/0.1225, allocations: 107.5 kB / 0.5604 GB, free: 8.012 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.1225, allocations: 12 kB / 0.5604 GB, free: 8 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002436/0.1228, allocations: 183.8 kB / 0.5606 GB, free: 7.82 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.768e-05/0.1229, allocations: 71.8 kB / 0.5607 GB, free: 7.75 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 5.638e-05/0.1229, allocations: 73.52 kB / 0.5608 GB, free: 7.672 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003202/0.1232, allocations: 419.2 kB / 0.5612 GB, free: 7.262 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.1233, allocations: 4 kB / 0.5612 GB, free: 7.258 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1233, allocations: 3.938 kB / 0.5612 GB, free: 7.254 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.857e-06/0.1233, allocations: 0 / 0.5612 GB, free: 7.254 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.0008242/0.1241, allocations: 0.7659 MB / 0.5619 GB, free: 6.402 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.932e-05/0.1241, allocations: 8.031 kB / 0.5619 GB, free: 6.395 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.634e-05/0.1242, allocations: 54.55 kB / 0.562 GB, free: 6.332 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.808e-05/0.1242, allocations: 31.62 kB / 0.562 GB, free: 6.301 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003105/0.1246, allocations: 311.2 kB / 0.5623 GB, free: 5.953 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.406e-05/0.1246, allocations: 16.23 kB / 0.5623 GB, free: 5.938 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.741e-05/0.1246, allocations: 16 kB / 0.5623 GB, free: 5.922 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005117/0.1251, allocations: 314.8 kB / 0.5626 GB, free: 5.609 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.1252, allocations: 0 / 0.5626 GB, free: 5.609 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.871e-05/0.1252, allocations: 8 kB / 0.5626 GB, free: 5.602 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.644e-06/0.1252, allocations: 8 kB / 0.5626 GB, free: 5.594 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005588/0.1258, allocations: 300.4 kB / 0.5629 GB, free: 5.301 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007735/0.1265, allocations: 0.6835 MB / 0.5636 GB, free: 4.566 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004469/0.127, allocations: 242.6 kB / 0.5638 GB, free: 4.32 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003344/0.1273, allocations: 204.8 kB / 0.564 GB, free: 4.117 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.335e-05/0.1274, allocations: 3.938 kB / 0.564 GB, free: 4.113 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.019e-05/0.1274, allocations: 42.5 kB / 0.5641 GB, free: 4.062 MB / 430.1 MB Notification: Performance of pre-optimization done (n=14): time 1.213e-06/0.1274, allocations: 0 / 0.5641 GB, free: 4.062 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.00112/0.1285, allocations: 0.7209 MB / 0.5648 GB, free: 3.316 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/0.1286, allocations: 132.5 kB / 0.5649 GB, free: 3.156 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003303/0.1289, allocations: 372.5 kB / 0.5653 GB, free: 2.785 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 2.113e-05/0.129, allocations: 33.7 kB / 0.5653 GB, free: 2.746 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.367e-05/0.1291, allocations: 168.3 kB / 0.5654 GB, free: 2.578 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.751e-05/0.1291, allocations: 55.3 kB / 0.5655 GB, free: 2.523 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.19e-05/0.1291, allocations: 0 / 0.5655 GB, free: 2.523 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 9.452e-05/0.1292, allocations: 342.8 kB / 0.5658 GB, free: 2.18 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000381/0.1296, allocations: 259.8 kB / 0.5661 GB, free: 1.926 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003658/0.13, allocations: 248.9 kB / 0.5663 GB, free: 1.684 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004236/0.1304, allocations: 426.8 kB / 0.5667 GB, free: 1.23 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1304, allocations: 0 / 0.5667 GB, free: 1.23 MB / 430.1 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000916/0.1313, allocations: 0.7626 MB / 0.5675 GB, free: 436 kB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.004e-05/0.1314, allocations: 178.2 kB / 0.5676 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.1314, allocations: 0 / 0.5676 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/0.1315, allocations: 0 / 0.5676 GB, free: 220 kB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000148/0.1316, allocations: 43.97 kB / 0.5677 GB, free: 176 kB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.1316, allocations: 3.984 kB / 0.5677 GB, free: 172 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001748/0.1318, allocations: 47.81 kB / 0.5677 GB, free: 124 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.233e-05/0.1318, allocations: 8 kB / 0.5677 GB, free: 116 kB / 430.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.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001882/0.132, allocations: 266.8 kB / 0.568 GB, free: 15.82 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.224e-05/0.1321, allocations: 31.62 kB / 0.568 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.322e-05/0.1321, allocations: 30.94 kB / 0.568 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.1321, allocations: 4 kB / 0.5681 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.966e-06/0.1322, allocations: 3.938 kB / 0.5681 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.1322, allocations: 0 / 0.5681 GB, free: 15.75 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000281/0.1324, allocations: 353.2 kB / 0.5684 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1325, allocations: 0 / 0.5684 GB, free: 15.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001452/0.1326, allocations: 39.97 kB / 0.5684 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.1326, allocations: 0 / 0.5684 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.835e-05/0.1326, allocations: 4 kB / 0.5684 GB, free: 15.32 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1326, allocations: 3.938 kB / 0.5684 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1326, allocations: 4 kB / 0.5684 GB, free: 15.31 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008181/0.1335, allocations: 0.6521 MB / 0.5691 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.036e-05/0.1335, allocations: 112.8 kB / 0.5692 GB, free: 14.5 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.97e-05/0.1336, allocations: 8 kB / 0.5692 GB, free: 14.49 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001945/0.1338, allocations: 39.97 kB / 0.5692 GB, free: 14.45 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.276e-05/0.1339, allocations: 23.97 kB / 0.5693 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.454e-05/0.1339, allocations: 8 kB / 0.5693 GB, free: 14.42 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0002297/0.1341, allocations: 271 kB / 0.5695 GB, free: 14.15 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1342, allocations: 0 / 0.5695 GB, free: 14.15 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.000344/0.1345, allocations: 111.8 kB / 0.5696 GB, free: 14.04 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001168/0.1357, allocations: 1.249 MB / 0.5708 GB, free: 12.75 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0009574/0.1366, allocations: 0.8712 MB / 0.5717 GB, free: 11.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.1367, allocations: 0 / 0.5717 GB, free: 11.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004317/0.1371, allocations: 390 kB / 0.5721 GB, free: 11.39 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003837/0.1375, allocations: 70.69 kB / 0.5721 GB, free: 11.32 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003592/0.1411, allocations: 2.848 MB / 0.5749 GB, free: 8.414 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002705/0.1414, allocations: 0.7908 MB / 0.5757 GB, free: 7.598 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 7.296e-05/0.1415, allocations: 17.95 kB / 0.5757 GB, free: 7.582 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001068/0.1416, allocations: 87.41 kB / 0.5758 GB, free: 7.496 MB / 446.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1416, allocations: 3.938 kB / 0.5758 GB, free: 7.492 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2183/0.3598, allocations: 8.151 MB / 0.5838 GB, free: 32.66 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001344/0.36, allocations: 229.1 kB / 0.584 GB, free: 32.43 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.605/1.965, allocations: 0 / 0.584 GB, free: 32.43 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/linux/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) Environment - environmentSimulation: