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.001112/0.001112, allocations: 179 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5209/0.5209, allocations: 90.8 MB / 104.5 MB, free: 13.93 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.509/1.509, allocations: 221.3 MB / 348.3 MB, free: 12.6 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.00102/0.00102, allocations: 88 kB / 421.2 MB, free: 5.742 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.134e-05/3.136e-05, allocations: 0 / 0.4897 GB, free: 46.52 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.1592, allocations: 72.31 MB / 0.5603 GB, free: 6.316 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5731/0.7323, allocations: 105.8 MB / 0.6637 GB, free: 2.109 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/0.7326, allocations: 94.94 kB / 0.6637 GB, free: 2.055 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0194/0.7521, allocations: 6.956 MB / 0.6705 GB, free: 12.02 MB / 474.7 MB Notification: Performance of FrontEnd: time 3.897e-06/0.7521, allocations: 0 / 0.6705 GB, free: 12.02 MB / 474.7 MB Notification: Performance of Transformations before backend: time 1.456e-05/0.7521, allocations: 7.938 kB / 0.6705 GB, free: 12.02 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.000863/0.753, allocations: 0.7292 MB / 0.6713 GB, free: 11.23 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.44e-05/0.7531, allocations: 23.92 kB / 0.6713 GB, free: 11.2 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.444e-05/0.7531, allocations: 46.05 kB / 0.6713 GB, free: 11.16 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.425e-05/0.7532, allocations: 39.53 kB / 0.6714 GB, free: 11.12 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003845/0.7536, allocations: 309.9 kB / 0.6717 GB, free: 10.82 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.7536, allocations: 7.656 kB / 0.6717 GB, free: 10.81 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.275e-05/0.7537, allocations: 23.48 kB / 0.6717 GB, free: 10.79 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003874/0.754, allocations: 252.1 kB / 0.6719 GB, free: 10.61 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.828e-06/0.7541, allocations: 4 kB / 0.6719 GB, free: 10.61 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.431e-05/0.7541, allocations: 10.83 kB / 0.6719 GB, free: 10.6 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.094e-06/0.7541, allocations: 7.938 kB / 0.6719 GB, free: 10.59 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002983/0.7544, allocations: 207.6 kB / 0.6721 GB, free: 10.4 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001157/0.7556, allocations: 0.7309 MB / 0.6729 GB, free: 9.617 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003603/0.756, allocations: 198.6 kB / 0.673 GB, free: 9.414 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002037/0.7562, allocations: 152.8 kB / 0.6732 GB, free: 9.262 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.7562, allocations: 0 / 0.6732 GB, free: 9.262 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.855e-05/0.7562, allocations: 42.52 kB / 0.6732 GB, free: 9.211 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 1.112e-06/0.7562, allocations: 0 / 0.6732 GB, free: 9.211 MB / 474.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005932/0.7568, allocations: 434.5 kB / 0.6736 GB, free: 8.762 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.045e-05/0.7569, allocations: 136.5 kB / 0.6738 GB, free: 8.598 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003474/0.7573, allocations: 342.5 kB / 0.6741 GB, free: 8.254 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.7573, allocations: 25.7 kB / 0.6741 GB, free: 8.223 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001114/0.7574, allocations: 168.3 kB / 0.6743 GB, free: 8.055 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.346e-05/0.7575, allocations: 43.36 kB / 0.6743 GB, free: 8.012 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.551e-05/0.7575, allocations: 11.94 kB / 0.6743 GB, free: 8 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001267/0.7576, allocations: 342.9 kB / 0.6747 GB, free: 7.656 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002445/0.7579, allocations: 199.9 kB / 0.6749 GB, free: 7.461 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002351/0.7581, allocations: 203.9 kB / 0.6751 GB, free: 7.262 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003051/0.7584, allocations: 358.1 kB / 0.6754 GB, free: 6.875 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.7584, allocations: 0 / 0.6754 GB, free: 6.875 MB / 474.7 MB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007204/0.7592, allocations: 0.6399 MB / 0.676 GB, free: 6.191 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000108/0.7593, allocations: 186.2 kB / 0.6762 GB, free: 5.973 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.7593, allocations: 0 / 0.6762 GB, free: 5.973 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.7593, allocations: 3.953 kB / 0.6762 GB, free: 5.969 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001852/0.7595, allocations: 39.97 kB / 0.6762 GB, free: 5.93 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.7595, allocations: 11.86 kB / 0.6763 GB, free: 5.918 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000222/0.7598, allocations: 59.7 kB / 0.6763 GB, free: 5.859 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.584e-05/0.7598, allocations: 12 kB / 0.6763 GB, free: 5.848 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.0001425/0.76, allocations: 202.1 kB / 0.6765 GB, free: 5.625 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.883e-05/0.76, allocations: 31.62 kB / 0.6765 GB, free: 5.594 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.402e-05/0.7601, allocations: 27.06 kB / 0.6766 GB, free: 5.566 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/0.7601, allocations: 7.953 kB / 0.6766 GB, free: 5.559 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.723e-06/0.7601, allocations: 0 / 0.6766 GB, free: 5.559 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.127e-06/0.7601, allocations: 0 / 0.6766 GB, free: 5.559 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003225/0.7604, allocations: 349.3 kB / 0.6769 GB, free: 5.168 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.7605, allocations: 0 / 0.6769 GB, free: 5.168 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001734/0.7606, allocations: 35.97 kB / 0.6769 GB, free: 5.133 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.7606, allocations: 4 kB / 0.6769 GB, free: 5.129 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.222e-05/0.7607, allocations: 8 kB / 0.677 GB, free: 5.121 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.7607, allocations: 0 / 0.677 GB, free: 5.121 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.7607, allocations: 3.953 kB / 0.677 GB, free: 5.117 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005909/0.7613, allocations: 0.5547 MB / 0.6775 GB, free: 4.527 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.068e-05/0.7614, allocations: 112.7 kB / 0.6776 GB, free: 4.398 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.26e-05/0.7614, allocations: 7.984 kB / 0.6776 GB, free: 4.391 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002309/0.7617, allocations: 35.97 kB / 0.6777 GB, free: 4.355 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001127/0.7618, allocations: 31.97 kB / 0.6777 GB, free: 4.324 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.803e-05/0.7618, allocations: 7.953 kB / 0.6777 GB, free: 4.316 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002522/0.7621, allocations: 266.1 kB / 0.6779 GB, free: 4.059 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.7621, allocations: 0 / 0.6779 GB, free: 4.059 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0004613/0.7626, allocations: 127.9 kB / 0.6781 GB, free: 3.934 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.001212/0.7638, allocations: 1.263 MB / 0.6793 GB, free: 2.629 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0007538/0.7645, allocations: 0.7588 MB / 0.68 GB, free: 1.797 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.7646, allocations: 4 kB / 0.68 GB, free: 1.793 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003031/0.7649, allocations: 342.5 kB / 0.6804 GB, free: 1.422 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.7652, allocations: 61.33 kB / 0.6804 GB, free: 1.363 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001033/0.7663, allocations: 0.609 MB / 0.681 GB, free: 0.7188 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003498/0.7666, allocations: 0.7867 MB / 0.6818 GB, free: 15.91 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0001016/0.7667, allocations: 26.08 kB / 0.6818 GB, free: 15.88 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.7668, allocations: 83.41 kB / 0.6819 GB, free: 15.8 MB / 490.7 MB Notification: Performance of SimCode: time 3.71e-07/0.7668, allocations: 0 / 0.6819 GB, free: 15.8 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02321/0.7901, allocations: 9.888 MB / 0.6916 GB, free: 6.148 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001958/0.7903, allocations: 183.7 kB / 0.6917 GB, free: 5.926 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.311/3.101, allocations: 0 / 0.6917 GB, free: 5.926 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)