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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.00092/0.00092, allocations: 172.8 kB / 8 MB, free: 1.074 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4938/0.4938, allocations: 90.91 MB / 99.34 MB, free: 2.18 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 221.5 MB / 343.2 MB, free: 1.527 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008826/0.0008827, allocations: 94 kB / 415.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.041e-05/2.035e-05, allocations: 4 kB / 494.6 MB, free: 52.3 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1523, allocations: 72.31 MB / 0.5536 GB, free: 12.17 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5623/0.7146, allocations: 105.1 MB / 0.6563 GB, free: 4.926 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.7149, allocations: 93.86 kB / 0.6564 GB, free: 4.871 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0189/0.7338, allocations: 6.876 MB / 0.6631 GB, free: 15.06 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.7339, allocations: 0 / 0.6631 GB, free: 15.06 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.777e-05/0.7339, allocations: 12 kB / 0.6631 GB, free: 15.05 MB / 474.7 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.0009022/0.7348, allocations: 0.7295 MB / 0.6638 GB, free: 14.26 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.7349, allocations: 12.03 kB / 0.6638 GB, free: 14.25 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.502e-05/0.735, allocations: 35.06 kB / 0.6639 GB, free: 14.22 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003817/0.7353, allocations: 313.6 kB / 0.6642 GB, free: 13.91 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.7354, allocations: 4 kB / 0.6642 GB, free: 13.9 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.989e-05/0.7354, allocations: 12 kB / 0.6642 GB, free: 13.89 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002909/0.7357, allocations: 196.2 kB / 0.6644 GB, free: 13.77 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003257/0.736, allocations: 230.9 kB / 0.6646 GB, free: 13.59 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.7361, allocations: 0 / 0.6646 GB, free: 13.59 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.438e-05/0.7361, allocations: 11.94 kB / 0.6646 GB, free: 13.58 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.081e-05/0.7361, allocations: 4 kB / 0.6646 GB, free: 13.57 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001068/0.7372, allocations: 0.6859 MB / 0.6653 GB, free: 12.99 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003367/0.7375, allocations: 188.6 kB / 0.6655 GB, free: 12.85 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001796/0.7377, allocations: 153.8 kB / 0.6656 GB, free: 12.74 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.734e-05/0.7377, allocations: 0 / 0.6656 GB, free: 12.74 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.7378, allocations: 37.88 kB / 0.6656 GB, free: 12.7 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 1.002e-06/0.7378, allocations: 0 / 0.6656 GB, free: 12.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005478/0.7383, allocations: 341.2 kB / 0.666 GB, free: 12.44 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.516e-05/0.7384, allocations: 136.1 kB / 0.6661 GB, free: 12.28 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002789/0.7387, allocations: 298.5 kB / 0.6664 GB, free: 12.04 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.7387, allocations: 29.81 kB / 0.6664 GB, free: 12 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.987e-05/0.7388, allocations: 177.6 kB / 0.6666 GB, free: 11.87 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.046e-05/0.7389, allocations: 41.77 kB / 0.6666 GB, free: 11.83 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.377e-05/0.7389, allocations: 0 / 0.6666 GB, free: 11.83 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001136/0.739, allocations: 336.9 kB / 0.6669 GB, free: 11.5 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002169/0.7392, allocations: 192 kB / 0.6671 GB, free: 11.38 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002116/0.7395, allocations: 196.7 kB / 0.6673 GB, free: 11.25 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003016/0.7398, allocations: 194.2 kB / 0.6675 GB, free: 11.11 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.7398, allocations: 0 / 0.6675 GB, free: 11.11 MB / 474.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006284/0.7404, allocations: 479 kB / 0.668 GB, free: 10.76 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001194/0.7405, allocations: 188.4 kB / 0.6681 GB, free: 10.55 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.758e-06/0.7406, allocations: 0 / 0.6681 GB, free: 10.55 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.392e-05/0.7406, allocations: 0 / 0.6681 GB, free: 10.55 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/0.7408, allocations: 39.97 kB / 0.6682 GB, free: 10.51 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.7408, allocations: 3.953 kB / 0.6682 GB, free: 10.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002124/0.741, allocations: 55.8 kB / 0.6682 GB, free: 10.45 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.371e-05/0.7411, allocations: 11.5 kB / 0.6682 GB, free: 10.44 MB / 474.7 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 () * 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.0001369/0.7412, allocations: 201.2 kB / 0.6684 GB, free: 10.22 MB / 474.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004701/0.7417, allocations: 352.9 kB / 0.6688 GB, free: 9.961 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.791e-05/0.7417, allocations: 27.62 kB / 0.6688 GB, free: 9.934 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.588e-05/0.7418, allocations: 31.83 kB / 0.6688 GB, free: 9.914 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/0.7418, allocations: 7.953 kB / 0.6688 GB, free: 9.906 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.9e-06/0.7418, allocations: 0 / 0.6688 GB, free: 9.906 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.7418, allocations: 7.922 kB / 0.6688 GB, free: 9.898 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002732/0.7421, allocations: 306.8 kB / 0.6691 GB, free: 9.617 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.7421, allocations: 0 / 0.6691 GB, free: 9.617 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001732/0.7423, allocations: 35.97 kB / 0.6692 GB, free: 9.582 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.7423, allocations: 4 kB / 0.6692 GB, free: 9.578 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.7423, allocations: 7 kB / 0.6692 GB, free: 9.574 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.7423, allocations: 3.938 kB / 0.6692 GB, free: 9.57 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/0.7423, allocations: 3.938 kB / 0.6692 GB, free: 9.566 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005157/0.7429, allocations: 463.8 kB / 0.6696 GB, free: 9.191 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.247e-05/0.7429, allocations: 104.4 kB / 0.6697 GB, free: 9.074 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.433e-05/0.743, allocations: 7.938 kB / 0.6697 GB, free: 9.07 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002255/0.7432, allocations: 39.97 kB / 0.6698 GB, free: 9.031 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000117/0.7433, allocations: 23.22 kB / 0.6698 GB, free: 9.016 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.615e-05/0.7434, allocations: 4 kB / 0.6698 GB, free: 9.012 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0001975/0.7436, allocations: 243.6 kB / 0.67 GB, free: 8.832 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.7436, allocations: 0 / 0.67 GB, free: 8.832 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.000454/0.744, allocations: 123.3 kB / 0.6702 GB, free: 8.719 MB / 474.7 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) * 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.001092/0.7451, allocations: 1.166 MB / 0.6713 GB, free: 7.629 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0006547/0.7458, allocations: 0.7401 MB / 0.672 GB, free: 6.961 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.7458, allocations: 0 / 0.672 GB, free: 6.961 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002688/0.7461, allocations: 341 kB / 0.6723 GB, free: 6.648 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003292/0.7464, allocations: 64.48 kB / 0.6724 GB, free: 6.594 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009602/0.7474, allocations: 0.5857 MB / 0.673 GB, free: 6.07 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003255/0.7477, allocations: 0.8017 MB / 0.6738 GB, free: 5.258 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 7.699e-05/0.7478, allocations: 17.86 kB / 0.6738 GB, free: 5.242 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001016/0.7479, allocations: 83.47 kB / 0.6739 GB, free: 5.219 MB / 474.7 MB Notification: Performance of SimCode: time 2.6e-07/0.7479, allocations: 0 / 0.6739 GB, free: 5.219 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02897/0.7769, allocations: 7.883 MB / 0.6815 GB, free: 13.43 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002308/0.7772, allocations: 177.1 kB / 0.6817 GB, free: 13.23 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.036/2.813, allocations: 0 / 0.6817 GB, free: 13.23 MB / 490.7 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)