Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8648/0.8648, allocations: 141.8 MB / 149.3 MB, free: 9.195 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 180.9 kB / 182.2 MB, free: 9.426 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.661/1.661, allocations: 221.5 MB / 436.4 MB, free: 13.32 MB / 330.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.001019, allocations: 100 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001847/0.001847, allocations: 275.5 kB / 0.5889 GB, free: 54.64 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.624e-05/2.628e-05, allocations: 4 kB / 0.6766 GB, free: 12.69 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5585/0.5585, allocations: 82.77 MB / 0.7575 GB, free: 31.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1654/0.724, allocations: 112.3 MB / 0.8671 GB, free: 15.49 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003385/0.7245, allocations: 95.92 kB / 0.8672 GB, free: 15.4 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.02035/0.7448, allocations: 6.884 MB / 0.8739 GB, free: 8.5 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.124e-06/0.7449, allocations: 0 / 0.8739 GB, free: 8.5 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 2.046e-05/0.7449, allocations: 12 kB / 0.8739 GB, free: 8.488 MB / 0.5417 GB 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.001161/0.7461, allocations: 0.7307 MB / 0.8746 GB, free: 7.672 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.7461, allocations: 12.03 kB / 0.8746 GB, free: 7.66 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.092e-05/0.7462, allocations: 31.62 kB / 0.8747 GB, free: 7.629 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004784/0.7467, allocations: 315.9 kB / 0.875 GB, free: 7.281 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.7468, allocations: 7.938 kB / 0.875 GB, free: 7.273 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.266e-05/0.7468, allocations: 12 kB / 0.875 GB, free: 7.262 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003429/0.7471, allocations: 188.2 kB / 0.8752 GB, free: 7.078 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003966/0.7476, allocations: 230.7 kB / 0.8754 GB, free: 6.848 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.7476, allocations: 0 / 0.8754 GB, free: 6.848 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.244e-05/0.7476, allocations: 4 kB / 0.8754 GB, free: 6.844 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.7476, allocations: 8 kB / 0.8754 GB, free: 6.836 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001287/0.7489, allocations: 0.6845 MB / 0.8761 GB, free: 6.113 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003825/0.7493, allocations: 190.6 kB / 0.8763 GB, free: 5.918 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002063/0.7495, allocations: 150.6 kB / 0.8764 GB, free: 5.77 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 1.513e-05/0.7496, allocations: 0 / 0.8764 GB, free: 5.77 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.783e-05/0.7496, allocations: 34.56 kB / 0.8764 GB, free: 5.727 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=14): time 1.433e-06/0.7496, allocations: 4 kB / 0.8764 GB, free: 5.723 MB / 0.5417 GB Notification: Performance of matching and sorting (n=14): time 0.0006328/0.7502, allocations: 337.2 kB / 0.8768 GB, free: 5.387 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.353e-05/0.7503, allocations: 140.5 kB / 0.8769 GB, free: 5.219 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000339/0.7507, allocations: 302.1 kB / 0.8772 GB, free: 4.918 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.966e-05/0.7507, allocations: 25.7 kB / 0.8772 GB, free: 4.887 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001356/0.7509, allocations: 168.2 kB / 0.8774 GB, free: 4.719 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 4.905e-05/0.7509, allocations: 47.41 kB / 0.8774 GB, free: 4.672 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.434e-05/0.7509, allocations: 0 / 0.8774 GB, free: 4.672 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000159/0.7511, allocations: 342.8 kB / 0.8777 GB, free: 4.328 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000259/0.7514, allocations: 195.9 kB / 0.8779 GB, free: 4.137 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002476/0.7516, allocations: 192.7 kB / 0.8781 GB, free: 3.949 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003397/0.752, allocations: 197.9 kB / 0.8783 GB, free: 3.758 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/0.752, allocations: 3.953 kB / 0.8783 GB, free: 3.754 MB / 0.5417 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007312/0.7527, allocations: 478.9 kB / 0.8788 GB, free: 3.281 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001351/0.7529, allocations: 179.6 kB / 0.8789 GB, free: 3.07 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.753e-06/0.7529, allocations: 0 / 0.8789 GB, free: 3.07 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/0.7529, allocations: 4 kB / 0.8789 GB, free: 3.066 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002012/0.7531, allocations: 39.97 kB / 0.879 GB, free: 3.027 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.7531, allocations: 4 kB / 0.879 GB, free: 3.023 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000239/0.7534, allocations: 55.7 kB / 0.879 GB, free: 2.969 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-05/0.7534, allocations: 12 kB / 0.879 GB, free: 2.957 MB / 0.5417 GB 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.000165/0.7536, allocations: 203.2 kB / 0.8792 GB, free: 2.734 MB / 0.5417 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0005391/0.7542, allocations: 357.2 kB / 0.8796 GB, free: 2.379 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.405e-05/0.7542, allocations: 27.66 kB / 0.8796 GB, free: 2.352 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.204e-05/0.7543, allocations: 26.14 kB / 0.8796 GB, free: 2.324 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.912e-06/0.7543, allocations: 4 kB / 0.8796 GB, free: 2.32 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/0.7543, allocations: 3.984 kB / 0.8796 GB, free: 2.316 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.7543, allocations: 0 / 0.8796 GB, free: 2.316 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003818/0.7547, allocations: 317.8 kB / 0.8799 GB, free: 1.969 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.7547, allocations: 4 kB / 0.8799 GB, free: 1.965 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001806/0.7549, allocations: 43.84 kB / 0.88 GB, free: 1.922 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.7549, allocations: 0 / 0.88 GB, free: 1.922 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.182e-05/0.755, allocations: 4 kB / 0.88 GB, free: 1.918 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.755, allocations: 0 / 0.88 GB, free: 1.918 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.638e-06/0.755, allocations: 3.828 kB / 0.88 GB, free: 1.918 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006003/0.7556, allocations: 460.6 kB / 0.8804 GB, free: 1.453 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 9.858e-05/0.7557, allocations: 116.7 kB / 0.8805 GB, free: 1.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.307e-05/0.7557, allocations: 0 / 0.8805 GB, free: 1.32 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002372/0.756, allocations: 35.97 kB / 0.8806 GB, free: 1.285 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/0.7561, allocations: 27.97 kB / 0.8806 GB, free: 1.258 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.026e-05/0.7562, allocations: 12 kB / 0.8806 GB, free: 1.246 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002824/0.7565, allocations: 232.6 kB / 0.8808 GB, free: 1.02 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.91e-07/0.7565, allocations: 0 / 0.8808 GB, free: 1.02 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0006011/0.7571, allocations: 123.8 kB / 0.8809 GB, free: 0.8984 MB / 0.5417 GB 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.00149/0.7586, allocations: 1.165 MB / 0.8821 GB, free: 15.71 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0009338/0.7595, allocations: 0.7474 MB / 0.8828 GB, free: 14.89 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.287e-06/0.7595, allocations: 4 kB / 0.8828 GB, free: 14.89 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003516/0.7599, allocations: 334.2 kB / 0.8831 GB, free: 14.52 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004217/0.7603, allocations: 60.67 kB / 0.8832 GB, free: 14.46 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001322/0.7617, allocations: 0.5827 MB / 0.8838 GB, free: 13.84 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005243/0.7622, allocations: 0.7984 MB / 0.8845 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 9.623e-05/0.7623, allocations: 21.86 kB / 0.8846 GB, free: 13 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.7625, allocations: 83.41 kB / 0.8846 GB, free: 12.92 MB / 0.5573 GB Notification: Performance of SimCode: time 3e-07/0.7625, allocations: 0 / 0.8846 GB, free: 12.92 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03406/0.7965, allocations: 7.898 MB / 0.8924 GB, free: 5.129 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003631/0.797, allocations: 212.1 kB / 0.8926 GB, free: 4.914 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.145/2.942, allocations: 0 / 0.8926 GB, free: 4.914 MB / 0.5573 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1)