Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 118 kB / 17.84 MB, free: 5.234 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001516/0.001516, allocations: 203.8 kB / 20.79 MB, free: 2.297 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.452/1.452, allocations: 230.6 MB / 254.2 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9493/0.9493, allocations: 150 MB / 460.2 MB, free: 5.254 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 72.09 kB / 0.6368 GB, free: 30.48 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.1659, allocations: 89.13 MB / 0.7238 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.6072/0.773, allocations: 157.9 MB / 0.878 GB, free: 3.008 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01219/0.7852, allocations: 10.69 MB / 0.8884 GB, free: 2.82 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001317/0.7866, allocations: 28.52 kB / 0.8885 GB, free: 2.82 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0008692/0.7874, allocations: 289.3 kB / 0.8887 GB, free: 2.816 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002931/0.7904, allocations: 0.9937 MB / 0.8897 GB, free: 2.789 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002735/0.7931, allocations: 1.108 MB / 0.8908 GB, free: 2.75 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002292/0.7954, allocations: 1.748 MB / 0.8925 GB, free: 2.73 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001454/0.7968, allocations: 0.9551 MB / 0.8934 GB, free: 2.641 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002126/0.799, allocations: 0.7573 MB / 0.8942 GB, free: 2.641 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000748/0.7997, allocations: 0.6401 MB / 0.8948 GB, free: 2.641 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001916/0.7999, allocations: 137.4 kB / 0.8949 GB, free: 2.641 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00222/0.8021, allocations: 1.077 MB / 0.896 GB, free: 2.617 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0003051/0.8024, allocations: 393.5 kB / 0.8964 GB, free: 2.617 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0006222/0.803, allocations: 0.6893 MB / 0.897 GB, free: 2.609 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.002787/0.8058, allocations: 2.29 MB / 0.8993 GB, free: 2.277 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.8058, allocations: 1.844 kB / 0.8993 GB, free: 2.277 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.064e-06/0.8058, allocations: 0 / 0.8993 GB, free: 2.277 MB / 0.67 GB Notification: Performance of Transformations before backend: time 3.096e-05/0.8059, allocations: 0 / 0.8993 GB, free: 2.277 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.003456/0.8093, allocations: 1.807 MB / 0.901 GB, free: 17.3 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.8094, allocations: 9.625 kB / 0.901 GB, free: 17.3 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.427e-05/0.8094, allocations: 29.12 kB / 0.9011 GB, free: 17.3 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001615/0.8096, allocations: 147.1 kB / 0.9012 GB, free: 17.26 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002231/0.8118, allocations: 328.8 kB / 0.9015 GB, free: 17.17 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001465/0.8133, allocations: 1.105 MB / 0.9026 GB, free: 16.81 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.491e-05/0.8133, allocations: 73.59 kB / 0.9027 GB, free: 16.81 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001139/0.8134, allocations: 93.06 kB / 0.9028 GB, free: 16.81 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001697/0.8151, allocations: 1.106 MB / 0.9038 GB, free: 16.66 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.17e-05/0.8152, allocations: 3.875 kB / 0.9038 GB, free: 16.66 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.266e-05/0.8152, allocations: 41.94 kB / 0.9039 GB, free: 16.66 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.77e-05/0.8153, allocations: 26.27 kB / 0.9039 GB, free: 16.66 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001922/0.8172, allocations: 1.314 MB / 0.9052 GB, free: 16.64 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004702/0.8219, allocations: 3.538 MB / 0.9086 GB, free: 15.31 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/0.8236, allocations: 1.048 MB / 0.9097 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006613/0.8243, allocations: 389.2 kB / 0.91 GB, free: 15.15 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002559/0.8246, allocations: 144.8 kB / 0.9102 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009978/0.8256, allocations: 0.6175 MB / 0.9108 GB, free: 14.97 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=95): time 2.665e-06/0.8256, allocations: 0 / 0.9108 GB, free: 14.97 MB / 0.6856 GB Notification: Performance of matching and sorting (n=95): time 0.004045/0.8296, allocations: 1.643 MB / 0.9124 GB, free: 14.63 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/0.8297, allocations: 199.3 kB / 0.9126 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00111/0.8309, allocations: 1.051 MB / 0.9136 GB, free: 14.28 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 9.266e-05/0.8309, allocations: 44.58 kB / 0.9136 GB, free: 14.25 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003346/0.8313, allocations: 483.5 kB / 0.9141 GB, free: 14.05 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002029/0.8315, allocations: 321.7 kB / 0.9144 GB, free: 13.85 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002476/0.8317, allocations: 172.7 kB / 0.9146 GB, free: 13.82 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001529/0.8319, allocations: 339 kB / 0.9149 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006239/0.8325, allocations: 328.7 kB / 0.9152 GB, free: 13.52 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007253/0.8332, allocations: 480.5 kB / 0.9157 GB, free: 13.41 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001366/0.8346, allocations: 0.7619 MB / 0.9164 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.8346, allocations: 0 / 0.9164 GB, free: 13.36 MB / 0.6856 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002314/0.8369, allocations: 1.047 MB / 0.9174 GB, free: 13.22 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.847e-05/0.8369, allocations: 5 kB / 0.9174 GB, free: 13.22 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/0.8369, allocations: 4.406 kB / 0.9175 GB, free: 13.22 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007351/0.8377, allocations: 111.9 kB / 0.9176 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000834/0.8385, allocations: 201.4 kB / 0.9177 GB, free: 13.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003319/0.8418, allocations: 3.066 MB / 0.9207 GB, free: 10.45 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009926/0.8428, allocations: 114.2 kB / 0.9209 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.477e-05/0.8429, allocations: 35.06 kB / 0.9209 GB, free: 10.41 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005801/0.8435, allocations: 314.4 kB / 0.9212 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002286/0.8437, allocations: 113 kB / 0.9213 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002833/0.8465, allocations: 1.317 MB / 0.9226 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.387e-06/0.8465, allocations: 10.25 kB / 0.9226 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.8465, allocations: 0 / 0.9226 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.8466, allocations: 2.859 kB / 0.9226 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004174/0.8507, allocations: 2.468 MB / 0.925 GB, free: 9.699 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/0.8507, allocations: 7.938 kB / 0.925 GB, free: 9.691 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007873/0.8515, allocations: 189.3 kB / 0.9252 GB, free: 9.691 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005581/0.8521, allocations: 105.2 kB / 0.9253 GB, free: 9.672 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.722e-05/0.8521, allocations: 27.53 kB / 0.9253 GB, free: 9.672 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003192/0.8553, allocations: 3.093 MB / 0.9283 GB, free: 6.93 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/0.8553, allocations: 192 / 0.9283 GB, free: 6.93 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002697/0.858, allocations: 1.237 MB / 0.9295 GB, free: 6.562 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005218/0.8586, allocations: 337.8 kB / 0.9299 GB, free: 6.324 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001343/0.8587, allocations: 22.53 kB / 0.9299 GB, free: 6.309 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008349/0.8595, allocations: 92 kB / 0.93 GB, free: 6.277 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001869/0.8597, allocations: 79.62 kB / 0.9301 GB, free: 6.262 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.165e-05/0.8598, allocations: 50.16 kB / 0.9301 GB, free: 6.25 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0008941/0.8607, allocations: 0.7647 MB / 0.9308 GB, free: 5.957 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.8607, allocations: 3.188 kB / 0.9309 GB, free: 5.957 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001314/0.862, allocations: 457.9 kB / 0.9313 GB, free: 5.84 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0051/0.8671, allocations: 2.384 MB / 0.9336 GB, free: 4.625 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002239/0.8694, allocations: 1.091 MB / 0.9347 GB, free: 4.129 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.571e-06/0.8694, allocations: 4.062 kB / 0.9347 GB, free: 4.125 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001261/0.8706, allocations: 0.6968 MB / 0.9354 GB, free: 3.777 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0017/0.8723, allocations: 350.3 kB / 0.9357 GB, free: 3.668 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01354/0.8859, allocations: 8.459 MB / 0.944 GB, free: 15.34 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007746/0.8866, allocations: 1.109 MB / 0.945 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.00108/0.8877, allocations: 326.8 kB / 0.9454 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007013/0.8884, allocations: 473.5 kB / 0.9458 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of SimCode: time 7.52e-07/0.8884, allocations: 0 / 0.9458 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06728/0.9557, allocations: 28.7 MB / 0.9738 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.15/15.11, allocations: 7.984 kB / 0.9738 GB, free: 3.465 MB / 0.7169 GB " [Timeout remaining time 645] (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Specification_fmu --startTime=0 --stopTime=86400 --stepSize=34.56 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.171683438995387] Failed to read output from testmodel.py, exit status != 0: 15.386267205991317 15.40945393 14.598801597 Calling exit ...