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.7521/0.7521, allocations: 128.7 MB / 143.7 MB, free: 2.332 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.001171/0.001171, allocations: 180.4 kB / 173.7 MB, free: 6.148 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.807/1.807, allocations: 205.4 MB / 409 MB, free: 10.54 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.001025/0.001025, allocations: 82.92 kB / 486.5 MB, free: 13.04 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003796/0.0003796, allocations: 11.19 kB / 0.5604 GB, free: 97.46 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1816, allocations: 76.77 MB / 0.6354 GB, free: 30.51 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.746/5.927, allocations: 2.167 GB / 2.802 GB, free: 209.7 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003309/5.928, allocations: 90.83 kB / 2.802 GB, free: 209.6 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.998/6.926, allocations: 290.8 MB / 3.086 GB, free: 151.6 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.595e-06/6.926, allocations: 0 / 3.086 GB, free: 151.6 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002801/6.926, allocations: 41.08 kB / 3.086 GB, free: 151.6 MB / 0.6511 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.006225/6.932, allocations: 1.723 MB / 3.088 GB, free: 150.6 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/6.933, allocations: 7.469 kB / 3.088 GB, free: 150.6 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008287/6.933, allocations: 244.3 kB / 3.088 GB, free: 150.5 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004203/6.938, allocations: 0.5085 MB / 3.089 GB, free: 150.3 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002387/6.94, allocations: 0.8808 MB / 3.089 GB, free: 149.9 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001239/6.94, allocations: 123.8 kB / 3.089 GB, free: 149.9 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004343/6.941, allocations: 157.2 kB / 3.09 GB, free: 149.9 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004403/6.945, allocations: 1.699 MB / 3.091 GB, free: 149.4 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.343e-05/6.945, allocations: 3.594 kB / 3.091 GB, free: 149.4 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003021/6.945, allocations: 74.77 kB / 3.091 GB, free: 149.4 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.799e-05/6.945, allocations: 38.22 kB / 3.091 GB, free: 149.4 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003748/6.949, allocations: 1.8 MB / 3.093 GB, free: 148.9 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009568/6.959, allocations: 4.97 MB / 3.098 GB, free: 146.2 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003127/6.962, allocations: 1.376 MB / 3.099 GB, free: 146 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009689/6.963, allocations: 0.8748 MB / 3.1 GB, free: 145 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001753/6.965, allocations: 0.8377 MB / 3.101 GB, free: 144.7 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=129): time 4.198e-06/6.965, allocations: 3.938 kB / 3.101 GB, free: 144.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=129): time 0.006237/6.971, allocations: 2.409 MB / 3.103 GB, free: 143.7 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001018/6.971, allocations: 180.8 kB / 3.104 GB, free: 143.6 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001345/6.972, allocations: 0.6802 MB / 3.104 GB, free: 143.3 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000189/6.973, allocations: 54.7 kB / 3.104 GB, free: 143.3 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000594/6.973, allocations: 0.5858 MB / 3.105 GB, free: 142.9 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003977/6.974, allocations: 430.1 kB / 3.105 GB, free: 142.6 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.09e-05/6.974, allocations: 24 kB / 3.105 GB, free: 142.6 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.00011/6.974, allocations: 348.9 kB / 3.106 GB, free: 142.3 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001023/6.975, allocations: 453.1 kB / 3.106 GB, free: 142.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001074/6.976, allocations: 0.5769 MB / 3.107 GB, free: 142.1 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001144/6.977, allocations: 0.505 MB / 3.107 GB, free: 142 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/6.977, allocations: 0 / 3.107 GB, free: 142 MB / 0.6511 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003497/6.981, allocations: 1.405 MB / 3.108 GB, free: 141.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.956e-05/6.981, allocations: 8.547 kB / 3.108 GB, free: 141.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/6.981, allocations: 10.48 kB / 3.108 GB, free: 141.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009974/6.982, allocations: 198.4 kB / 3.109 GB, free: 141.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/6.983, allocations: 245.3 kB / 3.109 GB, free: 141.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004886/6.988, allocations: 6.847 MB / 3.116 GB, free: 135 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/6.99, allocations: 150.3 kB / 3.116 GB, free: 135 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002241/6.99, allocations: 51.17 kB / 3.116 GB, free: 135 MB / 0.6511 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 () * Number of clocked 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.001126/6.991, allocations: 354 kB / 3.116 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004793/6.991, allocations: 113.3 kB / 3.116 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004553/6.996, allocations: 1.719 MB / 3.118 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.371e-05/6.996, allocations: 10.94 kB / 3.118 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.456e-05/6.996, allocations: 3.781 kB / 3.118 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.944e-05/6.996, allocations: 13.73 kB / 3.118 GB, free: 134.1 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002598/6.999, allocations: 1.417 MB / 3.119 GB, free: 133.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.808e-05/6.999, allocations: 1.969 kB / 3.119 GB, free: 133.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001224/7, allocations: 244.6 kB / 3.12 GB, free: 133.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009014/7.001, allocations: 200.7 kB / 3.12 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001477/7.001, allocations: 35.44 kB / 3.12 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005506/7.007, allocations: 6.877 MB / 3.127 GB, free: 126 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/7.007, allocations: 3.406 kB / 3.127 GB, free: 126 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004243/7.011, allocations: 1.507 MB / 3.128 GB, free: 125.1 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001239/7.012, allocations: 411.2 kB / 3.128 GB, free: 124.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003509/7.012, allocations: 28 kB / 3.128 GB, free: 124.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001545/7.014, allocations: 130.3 kB / 3.129 GB, free: 124.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002367/7.014, allocations: 91.44 kB / 3.129 GB, free: 124.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002393/7.014, allocations: 63.94 kB / 3.129 GB, free: 124.4 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001025/7.016, allocations: 0.5459 MB / 3.129 GB, free: 123.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.01e-07/7.016, allocations: 0 / 3.129 GB, free: 123.8 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002707/7.018, allocations: 0.6612 MB / 3.13 GB, free: 123.2 MB / 0.6511 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) * Number of clocked states: 0 () * 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.007458/7.026, allocations: 3.546 MB / 3.133 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003906/7.03, allocations: 1.758 MB / 3.135 GB, free: 118.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.36e-05/7.03, allocations: 4.656 kB / 3.135 GB, free: 118.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002221/7.032, allocations: 1.251 MB / 3.136 GB, free: 116.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002754/7.035, allocations: 390 kB / 3.137 GB, free: 116.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01788/7.053, allocations: 7.695 MB / 3.144 GB, free: 108.7 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001193/7.054, allocations: 1.267 MB / 3.145 GB, free: 107.4 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002327/7.056, allocations: 397.5 kB / 3.146 GB, free: 107 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001005/7.057, allocations: 0.5695 MB / 3.146 GB, free: 106.4 MB / 0.6511 GB Notification: Performance of SimCode: time 1.593e-06/7.057, allocations: 0 / 3.146 GB, free: 106.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08197/7.139, allocations: 49.18 MB / 3.194 GB, free: 57.88 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001868/7.14, allocations: 253.2 kB / 3.195 GB, free: 57.54 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.859/11, allocations: 0 / 3.195 GB, free: 57.54 MB / 0.6511 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)