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.7081/0.7081, allocations: 127.3 MB / 139.8 MB, free: 15.43 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00115/0.00115, allocations: 179.8 kB / 169.7 MB, free: 1.746 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.565/1.565, allocations: 205.1 MB / 404.5 MB, free: 1.66 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.0008185/0.0008185, allocations: 86.41 kB / 481.8 MB, free: 4.305 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.168e-05/3.179e-05, allocations: 4 kB / 0.5533 GB, free: 54.75 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1506, allocations: 76.77 MB / 0.6283 GB, free: 9.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.144/5.295, allocations: 2.167 GB / 2.795 GB, free: 160.4 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/5.295, allocations: 87.95 kB / 2.795 GB, free: 160.3 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.9415/6.237, allocations: 290.2 MB / 3.078 GB, free: 127.2 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.024e-06/6.237, allocations: 0 / 3.078 GB, free: 127.2 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001557/6.237, allocations: 44 kB / 3.078 GB, free: 127.2 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.003732/6.241, allocations: 1.589 MB / 3.08 GB, free: 125.6 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.113e-05/6.241, allocations: 16.02 kB / 3.08 GB, free: 125.6 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005552/6.241, allocations: 224.3 kB / 3.08 GB, free: 125.3 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003944/6.245, allocations: 0.5168 MB / 3.081 GB, free: 124.8 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001957/6.247, allocations: 0.8684 MB / 3.081 GB, free: 123.9 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.161e-05/6.247, allocations: 127.2 kB / 3.082 GB, free: 123.8 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003554/6.248, allocations: 152 kB / 3.082 GB, free: 123.6 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00328/6.251, allocations: 1.625 MB / 3.083 GB, free: 122 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.264e-05/6.251, allocations: 0 / 3.083 GB, free: 122 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002558/6.251, allocations: 68 kB / 3.083 GB, free: 121.9 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.716e-05/6.251, allocations: 40 kB / 3.083 GB, free: 121.9 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002672/6.254, allocations: 1.655 MB / 3.085 GB, free: 120.2 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007786/6.262, allocations: 4.969 MB / 3.09 GB, free: 115 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001608/6.264, allocations: 1.203 MB / 3.091 GB, free: 113.8 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006812/6.264, allocations: 0.5618 MB / 3.092 GB, free: 113.2 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008116/6.265, allocations: 0.8675 MB / 3.092 GB, free: 112.1 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001062/6.266, allocations: 0.7703 MB / 3.093 GB, free: 111.4 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=129): time 3.166e-06/6.266, allocations: 0 / 3.093 GB, free: 111.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=129): time 0.002589/6.269, allocations: 1.265 MB / 3.094 GB, free: 110.1 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.411e-05/6.269, allocations: 167.5 kB / 3.095 GB, free: 109.9 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007794/6.27, allocations: 0.6685 MB / 3.095 GB, free: 109.2 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001177/6.27, allocations: 57.7 kB / 3.095 GB, free: 109.1 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004166/6.27, allocations: 0.5821 MB / 3.096 GB, free: 108.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003506/6.271, allocations: 433.6 kB / 3.096 GB, free: 108.1 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.37e-05/6.271, allocations: 20 kB / 3.096 GB, free: 108.1 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001/6.271, allocations: 349.9 kB / 3.097 GB, free: 107.7 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005429/6.271, allocations: 386.5 kB / 3.097 GB, free: 107.4 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00061/6.272, allocations: 0.5074 MB / 3.098 GB, free: 106.8 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006271/6.273, allocations: 452.8 kB / 3.098 GB, free: 106.4 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.526e-06/6.273, allocations: 7.938 kB / 3.098 GB, free: 106.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002266/6.275, allocations: 1.265 MB / 3.099 GB, free: 105.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/6.275, allocations: 4 kB / 3.099 GB, free: 105.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/6.275, allocations: 4 kB / 3.099 GB, free: 105.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008844/6.276, allocations: 200.2 kB / 3.099 GB, free: 104.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/6.277, allocations: 243.6 kB / 3.1 GB, free: 104.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004022/6.281, allocations: 6.799 MB / 3.106 GB, free: 97.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/6.282, allocations: 154.9 kB / 3.106 GB, free: 97 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.266e-05/6.282, allocations: 47.95 kB / 3.106 GB, free: 96.95 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 () * 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.0002503/6.282, allocations: 168.8 kB / 3.107 GB, free: 96.78 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001626/6.283, allocations: 110.7 kB / 3.107 GB, free: 96.67 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002951/6.285, allocations: 1.587 MB / 3.108 GB, free: 95.05 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.157e-06/6.286, allocations: 12 kB / 3.108 GB, free: 95.04 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.062e-06/6.286, allocations: 8 kB / 3.108 GB, free: 95.03 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/6.286, allocations: 3.984 kB / 3.108 GB, free: 95.03 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001435/6.287, allocations: 1.418 MB / 3.11 GB, free: 93.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/6.287, allocations: 0 / 3.11 GB, free: 93.56 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001047/6.288, allocations: 247.6 kB / 3.11 GB, free: 93.32 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007351/6.289, allocations: 204.1 kB / 3.11 GB, free: 93.1 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.046e-05/6.289, allocations: 35.97 kB / 3.11 GB, free: 93.07 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003875/6.293, allocations: 6.818 MB / 3.117 GB, free: 85.58 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/6.293, allocations: 0 / 3.117 GB, free: 85.58 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002374/6.295, allocations: 1.378 MB / 3.118 GB, free: 84.17 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006528/6.296, allocations: 411.1 kB / 3.119 GB, free: 83.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001646/6.296, allocations: 31.98 kB / 3.119 GB, free: 83.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001188/6.297, allocations: 120 kB / 3.119 GB, free: 83.6 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001684/6.297, allocations: 97.12 kB / 3.119 GB, free: 83.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001519/6.298, allocations: 71.92 kB / 3.119 GB, free: 83.43 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0006625/6.298, allocations: 0.5343 MB / 3.119 GB, free: 82.91 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.51e-07/6.298, allocations: 0 / 3.119 GB, free: 82.91 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002047/6.3, allocations: 0.6663 MB / 3.12 GB, free: 82.24 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) * 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.005283/6.306, allocations: 3.361 MB / 3.123 GB, free: 78.96 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002144/6.308, allocations: 1.614 MB / 3.125 GB, free: 77.28 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.642e-06/6.308, allocations: 4.781 kB / 3.125 GB, free: 77.27 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001276/6.309, allocations: 1.176 MB / 3.126 GB, free: 76.04 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001694/6.311, allocations: 392.1 kB / 3.126 GB, free: 75.66 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005608/6.316, allocations: 2.415 MB / 3.129 GB, free: 73.19 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007532/6.317, allocations: 1.271 MB / 3.13 GB, free: 71.89 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002263/6.319, allocations: 408.1 kB / 3.13 GB, free: 71.49 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008881/6.32, allocations: 0.5617 MB / 3.131 GB, free: 70.93 MB / 0.6511 GB Notification: Performance of SimCode: time 1.002e-06/6.32, allocations: 4 kB / 3.131 GB, free: 70.92 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06771/6.388, allocations: 52.33 MB / 3.182 GB, free: 18.75 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001773/6.388, allocations: 228.5 kB / 3.182 GB, free: 18.49 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.799/10.19, allocations: 0 / 3.182 GB, free: 18.49 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)