Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpLowRise.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7549/0.7549, allocations: 127.4 MB / 134.9 MB, free: 3.715 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00102/0.00102, allocations: 184.8 kB / 164.7 MB, free: 6.52 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.556/1.556, allocations: 205.2 MB / 399.5 MB, free: 5.879 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000894/0.000894, allocations: 90.09 kB / 476.7 MB, free: 8.602 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.831e-05/1.833e-05, allocations: 4 kB / 0.5467 GB, free: 60.39 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1628, allocations: 76.76 MB / 0.6216 GB, free: 15.56 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.252/5.415, allocations: 2.166 GB / 2.788 GB, free: 65.54 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/5.415, allocations: 87.95 kB / 2.788 GB, free: 65.46 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.8387/6.254, allocations: 287.3 MB / 3.068 GB, free: 28.23 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.796e-06/6.254, allocations: 0 / 3.068 GB, free: 28.23 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001076/6.254, allocations: 43.94 kB / 3.068 GB, free: 28.19 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 407 * Number of variables: 407 Notification: Performance of Generate backend data structure: time 0.003051/6.257, allocations: 1.596 MB / 3.07 GB, free: 26.54 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.263e-05/6.257, allocations: 8.031 kB / 3.07 GB, free: 26.53 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00411/6.262, allocations: 0.5129 MB / 3.07 GB, free: 26.02 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001594/6.263, allocations: 0.8766 MB / 3.071 GB, free: 25.1 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.765e-05/6.263, allocations: 52 kB / 3.071 GB, free: 25.05 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001734/6.263, allocations: 92 kB / 3.071 GB, free: 24.96 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00235/6.266, allocations: 1.564 MB / 3.073 GB, free: 23.39 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002187/6.268, allocations: 1.386 MB / 3.074 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.885e-05/6.268, allocations: 4 kB / 3.074 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001494/6.268, allocations: 3.953 kB / 3.074 GB, free: 21.96 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.216e-05/6.268, allocations: 40 kB / 3.074 GB, free: 21.92 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006884/6.275, allocations: 4.688 MB / 3.079 GB, free: 16.99 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/6.276, allocations: 1.12 MB / 3.08 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005818/6.277, allocations: 0.5344 MB / 3.08 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008235/6.278, allocations: 0.8714 MB / 3.081 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009446/6.279, allocations: 0.7283 MB / 3.082 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=129): time 2.965e-06/6.279, allocations: 0 / 3.082 GB, free: 13.52 MB / 0.6355 GB Notification: Performance of matching and sorting (n=129): time 0.005448/6.284, allocations: 1.569 MB / 3.084 GB, free: 11.93 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.965e-05/6.284, allocations: 171.5 kB / 3.084 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006482/6.285, allocations: 0.5664 MB / 3.084 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001091/6.285, allocations: 29.7 kB / 3.084 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003514/6.285, allocations: 0.5858 MB / 3.085 GB, free: 10.51 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002392/6.286, allocations: 417.6 kB / 3.085 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.317e-05/6.286, allocations: 0 / 3.085 GB, free: 10.1 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001023/6.286, allocations: 402.7 kB / 3.086 GB, free: 9.695 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004583/6.286, allocations: 358.5 kB / 3.086 GB, free: 9.348 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005152/6.287, allocations: 493.1 kB / 3.086 GB, free: 8.828 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003749/6.291, allocations: 0.8063 MB / 3.087 GB, free: 8.027 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/6.291, allocations: 3.938 kB / 3.087 GB, free: 8.023 MB / 0.6355 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.00549/6.296, allocations: 1.569 MB / 3.089 GB, free: 6.43 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/6.296, allocations: 8 kB / 3.089 GB, free: 6.422 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/6.296, allocations: 4.062 kB / 3.089 GB, free: 6.418 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008664/6.297, allocations: 188.1 kB / 3.089 GB, free: 6.219 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/6.298, allocations: 243.6 kB / 3.089 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3653/6.664, allocations: 6.52 MB / 3.096 GB, free: 144.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001686/6.665, allocations: 122.8 kB / 3.096 GB, free: 144.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001605/6.666, allocations: 46.73 kB / 3.096 GB, free: 144.1 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,$PRE.weaDat.conTim1.tStart,weaDat.conTim1.tStart,$PRE.weaDat.conTim.tStart,weaDat.conTim.tStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (127): * Single equations (assignments): 122 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003703/6.666, allocations: 126.6 kB / 3.096 GB, free: 144 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006852/6.673, allocations: 1.564 MB / 3.097 GB, free: 143.9 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000295/6.673, allocations: 116.5 kB / 3.098 GB, free: 143.9 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007224/6.68, allocations: 1.854 MB / 3.099 GB, free: 143.8 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.757e-05/6.68, allocations: 12.97 kB / 3.099 GB, free: 143.8 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.737e-06/6.68, allocations: 6.719 kB / 3.099 GB, free: 143.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.253e-05/6.681, allocations: 6.797 kB / 3.099 GB, free: 143.8 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002337/6.683, allocations: 1.187 MB / 3.101 GB, free: 143.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.845e-06/6.683, allocations: 7.391 kB / 3.101 GB, free: 143.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001273/6.684, allocations: 238.5 kB / 3.101 GB, free: 143.6 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000845/6.685, allocations: 201.3 kB / 3.101 GB, free: 143.6 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.926e-05/6.685, allocations: 20.05 kB / 3.101 GB, free: 143.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004274/6.689, allocations: 6.551 MB / 3.107 GB, free: 137.6 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/6.689, allocations: 0 / 3.107 GB, free: 137.6 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006378/6.696, allocations: 1.679 MB / 3.109 GB, free: 137.4 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007648/6.697, allocations: 399.6 kB / 3.109 GB, free: 137.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001538/6.697, allocations: 1.922 kB / 3.109 GB, free: 137.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001211/6.698, allocations: 105 kB / 3.109 GB, free: 137.2 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002479/6.698, allocations: 104.5 kB / 3.11 GB, free: 137.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000152/6.698, allocations: 63.09 kB / 3.11 GB, free: 137.2 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0007424/6.699, allocations: 458.7 kB / 3.11 GB, free: 137.1 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.4e-07/6.699, allocations: 0 / 3.11 GB, free: 137.1 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002306/6.701, allocations: 0.603 MB / 3.111 GB, free: 137.1 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTim1.tStart,weaDat.conTim.tStart) * Number of discrete states: 2 (weaDat.conTim1.tStart,weaDat.conTim.tStart) * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.009943/6.711, allocations: 3.769 MB / 3.114 GB, free: 136.2 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003242/6.715, allocations: 1.525 MB / 3.116 GB, free: 135.7 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.091e-05/6.715, allocations: 2.781 kB / 3.116 GB, free: 135.7 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001692/6.716, allocations: 1.115 MB / 3.117 GB, free: 135.1 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002123/6.719, allocations: 350.2 kB / 3.117 GB, free: 135.1 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006535/6.725, allocations: 2.299 MB / 3.12 GB, free: 134.6 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/6.726, allocations: 1.267 MB / 3.121 GB, free: 133.9 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002096/6.728, allocations: 392.2 kB / 3.121 GB, free: 133.8 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000841/6.729, allocations: 0.5634 MB / 3.122 GB, free: 133.8 MB / 0.6355 GB Notification: Performance of SimCode: time 1.413e-06/6.729, allocations: 2.656 kB / 3.122 GB, free: 133.8 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08447/6.814, allocations: 39.2 MB / 3.16 GB, free: 132.1 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001738/6.814, allocations: 180.8 kB / 3.16 GB, free: 131.9 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.396/10.21, allocations: 0 / 3.16 GB, free: 131.9 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpLowRise.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_Outside_CpLowRise_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_Outside_CpLowRise.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)