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.001141/0.00114, allocations: 182.8 kB / 15.76 MB, free: 6.359 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.54/0.54, allocations: 91.97 MB / 108.5 MB, free: 13.11 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.766/1.766, allocations: 223.1 MB / 354.3 MB, free: 12.17 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009793/0.0009793, allocations: 99.19 kB / 427.4 MB, free: 3.902 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003511/0.0003511, allocations: 8 kB / 0.4983 GB, free: 42.17 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1816/0.182, allocations: 72.31 MB / 0.5689 GB, free: 1.801 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5159/0.698, allocations: 105.9 MB / 0.6723 GB, free: 14.52 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003392/0.6984, allocations: 91.94 kB / 0.6724 GB, free: 14.43 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02178/0.7202, allocations: 6.97 MB / 0.6792 GB, free: 7.461 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.7202, allocations: 0 / 0.6792 GB, free: 7.461 MB / 474.7 MB Notification: Performance of Transformations before backend: time 3.174e-05/0.7203, allocations: 15.94 kB / 0.6792 GB, free: 7.445 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.001381/0.7217, allocations: 0.7894 MB / 0.68 GB, free: 6.566 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.336e-05/0.7217, allocations: 12.03 kB / 0.68 GB, free: 6.555 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001036/0.7219, allocations: 50.55 kB / 0.6801 GB, free: 6.496 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001194/0.722, allocations: 35.62 kB / 0.6801 GB, free: 6.461 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005373/0.7225, allocations: 303.1 kB / 0.6804 GB, free: 6.129 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.133e-05/0.7226, allocations: 12.28 kB / 0.6804 GB, free: 6.117 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.936e-05/0.7226, allocations: 20 kB / 0.6804 GB, free: 6.098 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006823/0.7233, allocations: 310.8 kB / 0.6807 GB, free: 5.789 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.7233, allocations: 3.938 kB / 0.6807 GB, free: 5.785 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.379e-05/0.7234, allocations: 15.94 kB / 0.6807 GB, free: 5.77 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.7234, allocations: 0 / 0.6807 GB, free: 5.77 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006849/0.7241, allocations: 308.3 kB / 0.681 GB, free: 5.469 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001405/0.7255, allocations: 0.7387 MB / 0.6817 GB, free: 4.68 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005857/0.7261, allocations: 244.7 kB / 0.682 GB, free: 4.434 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.7261, allocations: 4 kB / 0.682 GB, free: 4.43 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.7262, allocations: 38.5 kB / 0.682 GB, free: 4.383 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 1.683e-06/0.7262, allocations: 0 / 0.682 GB, free: 4.383 MB / 474.7 MB Notification: Performance of matching and sorting (n=14): time 0.001613/0.7278, allocations: 0.9476 MB / 0.6829 GB, free: 3.355 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.936e-05/0.7279, allocations: 144.5 kB / 0.6831 GB, free: 3.184 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004339/0.7283, allocations: 339.7 kB / 0.6834 GB, free: 2.84 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.471e-05/0.7284, allocations: 29.7 kB / 0.6834 GB, free: 2.805 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.7285, allocations: 168.3 kB / 0.6836 GB, free: 2.637 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.09e-05/0.7286, allocations: 43.34 kB / 0.6836 GB, free: 2.594 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.807e-05/0.7286, allocations: 4.109 kB / 0.6836 GB, free: 2.59 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000151/0.7288, allocations: 346.8 kB / 0.684 GB, free: 2.242 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004515/0.7292, allocations: 251.8 kB / 0.6842 GB, free: 1.996 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004376/0.7297, allocations: 250.3 kB / 0.6845 GB, free: 1.754 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005348/0.7302, allocations: 418 kB / 0.6849 GB, free: 1.309 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.7302, allocations: 0 / 0.6849 GB, free: 1.309 MB / 474.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001198/0.7314, allocations: 0.7528 MB / 0.6856 GB, free: 0.5156 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000141/0.7316, allocations: 178.2 kB / 0.6858 GB, free: 312 kB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.975e-06/0.7316, allocations: 0 / 0.6858 GB, free: 312 kB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.177e-05/0.7316, allocations: 11.95 kB / 0.6858 GB, free: 300 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001957/0.7319, allocations: 31.97 kB / 0.6858 GB, free: 268 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.7319, allocations: 4 kB / 0.6858 GB, free: 264 kB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002667/0.7321, allocations: 59.73 kB / 0.6859 GB, free: 204 kB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.743e-05/0.7322, allocations: 16 kB / 0.6859 GB, free: 188 kB / 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 () * 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.0002817/0.7325, allocations: 258.8 kB / 0.6861 GB, free: 15.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.203e-05/0.7326, allocations: 31.62 kB / 0.6862 GB, free: 15.87 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.772e-05/0.7327, allocations: 30.94 kB / 0.6862 GB, free: 15.84 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.7327, allocations: 4 kB / 0.6862 GB, free: 15.84 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.7327, allocations: 7.891 kB / 0.6862 GB, free: 15.83 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.489e-06/0.7327, allocations: 4 kB / 0.6862 GB, free: 15.82 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003856/0.7331, allocations: 341.3 kB / 0.6865 GB, free: 15.44 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.437e-06/0.7331, allocations: 4 kB / 0.6865 GB, free: 15.44 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001793/0.7333, allocations: 31.97 kB / 0.6866 GB, free: 15.41 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.92e-06/0.7333, allocations: 0 / 0.6866 GB, free: 15.41 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.464e-05/0.7333, allocations: 8 kB / 0.6866 GB, free: 15.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.99e-06/0.7333, allocations: 4.547 kB / 0.6866 GB, free: 15.39 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.834e-06/0.7334, allocations: 4 kB / 0.6866 GB, free: 15.39 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001034/0.7344, allocations: 0.6474 MB / 0.6872 GB, free: 14.71 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001123/0.7345, allocations: 116.7 kB / 0.6873 GB, free: 14.58 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.697e-05/0.7346, allocations: 4 kB / 0.6873 GB, free: 14.57 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002689/0.7349, allocations: 39.97 kB / 0.6874 GB, free: 14.54 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/0.735, allocations: 31.95 kB / 0.6874 GB, free: 14.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.735, allocations: 4 kB / 0.6874 GB, free: 14.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003081/0.7354, allocations: 271 kB / 0.6876 GB, free: 14.24 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.7354, allocations: 4 kB / 0.6877 GB, free: 14.23 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0005771/0.7359, allocations: 131.8 kB / 0.6878 GB, free: 14.11 MB / 490.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) * 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.001997/0.738, allocations: 1.373 MB / 0.6891 GB, free: 12.7 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001246/0.7392, allocations: 0.8594 MB / 0.69 GB, free: 11.76 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.7392, allocations: 0 / 0.69 GB, free: 11.76 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005467/0.7398, allocations: 398 kB / 0.6903 GB, free: 11.34 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003936/0.7402, allocations: 61.34 kB / 0.6904 GB, free: 11.28 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001935/0.7421, allocations: 1.01 MB / 0.6914 GB, free: 10.21 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005305/0.7427, allocations: 0.7909 MB / 0.6922 GB, free: 9.395 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001974/0.7429, allocations: 17.95 kB / 0.6922 GB, free: 9.375 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001504/0.7431, allocations: 83.41 kB / 0.6923 GB, free: 9.293 MB / 490.7 MB Notification: Performance of SimCode: time 6.72e-07/0.7431, allocations: 3.938 kB / 0.6923 GB, free: 9.289 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02524/0.7683, allocations: 9.624 MB / 0.7017 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/0.7685, allocations: 208.3 kB / 0.7019 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.318/3.087, allocations: 0 / 0.7019 GB, free: 15.66 MB / 0.4948 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 & /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)