Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.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.001668/0.001668, allocations: 116.3 kB / 17.84 MB, free: 5.312 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.001924/0.001924, allocations: 203.2 kB / 20.8 MB, free: 2.371 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.45/1.45, allocations: 230.6 MB / 254.2 MB, free: 15.07 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.9436/0.9436, allocations: 150 MB / 460.2 MB, free: 5.629 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,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.Outside_CpData,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData",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.002011/0.002011, allocations: 73 kB / 0.6368 GB, free: 30.28 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1654, allocations: 89.14 MB / 0.7238 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpData): time 0.607/0.7724, allocations: 171.9 MB / 0.8917 GB, free: 2.441 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02354/0.796, allocations: 17.52 MB / 0.9088 GB, free: 1.98 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002391/0.7984, allocations: 44.31 kB / 0.9088 GB, free: 1.98 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002128/0.8005, allocations: 0.594 MB / 0.9094 GB, free: 1.969 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006116/0.8066, allocations: 1.823 MB / 0.9112 GB, free: 1.895 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004174/0.8108, allocations: 1.461 MB / 0.9126 GB, free: 1.852 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00419/0.815, allocations: 2.892 MB / 0.9155 GB, free: 1.824 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002736/0.8177, allocations: 1.608 MB / 0.917 GB, free: 1.641 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004961/0.8227, allocations: 1.495 MB / 0.9185 GB, free: 1.633 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002169/0.8248, allocations: 1.157 MB / 0.9196 GB, free: 1.504 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0008002/0.8256, allocations: 222 kB / 0.9198 GB, free: 1.504 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004193/0.8298, allocations: 1.632 MB / 0.9214 GB, free: 1.477 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.001162/0.831, allocations: 0.8155 MB / 0.9222 GB, free: 1.371 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002265/0.8333, allocations: 1.278 MB / 0.9235 GB, free: 0.9883 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.007003/0.8403, allocations: 3.782 MB / 0.9272 GB, free: 412 kB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.722e-06/0.8403, allocations: 5.312 kB / 0.9272 GB, free: 408 kB / 0.67 GB Notification: Performance of FrontEnd: time 2.555e-06/0.8403, allocations: 4 kB / 0.9272 GB, free: 404 kB / 0.67 GB Notification: Performance of Transformations before backend: time 0.0001217/0.8404, allocations: 0 / 0.9272 GB, free: 404 kB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 430 * Number of variables: 430 Notification: Performance of Generate backend data structure: time 0.007371/0.8478, allocations: 3.021 MB / 0.9301 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.169e-05/0.8478, allocations: 8.156 kB / 0.9301 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 7.287e-05/0.8479, allocations: 46.22 kB / 0.9302 GB, free: 14.88 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004717/0.8484, allocations: 249.3 kB / 0.9304 GB, free: 14.83 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004695/0.8531, allocations: 0.6351 MB / 0.931 GB, free: 14.67 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004841/0.8579, allocations: 3.449 MB / 0.9344 GB, free: 13.81 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001385/0.858, allocations: 140.1 kB / 0.9345 GB, free: 13.75 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003102/0.8583, allocations: 169.6 kB / 0.9347 GB, free: 13.69 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00375/0.8621, allocations: 1.932 MB / 0.9366 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.254e-05/0.8621, allocations: 2.469 kB / 0.9366 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001997/0.8623, allocations: 76.83 kB / 0.9367 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.964e-05/0.8624, allocations: 40.84 kB / 0.9367 GB, free: 12.88 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003817/0.8662, allocations: 2.086 MB / 0.9387 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01182/0.878, allocations: 6.779 MB / 0.9453 GB, free: 6.926 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003666/0.8817, allocations: 2.008 MB / 0.9473 GB, free: 5.785 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001405/0.8831, allocations: 0.7024 MB / 0.948 GB, free: 5.457 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006921/0.8838, allocations: 430.3 kB / 0.9484 GB, free: 5.047 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001998/0.8858, allocations: 1.004 MB / 0.9494 GB, free: 4.473 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=146): time 3.647e-06/0.8858, allocations: 0 / 0.9494 GB, free: 4.473 MB / 0.6856 GB Notification: Performance of matching and sorting (n=146): time 0.007653/0.8934, allocations: 2.971 MB / 0.9523 GB, free: 2.793 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001643/0.8936, allocations: 204.1 kB / 0.9525 GB, free: 2.566 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005697/0.8993, allocations: 4.075 MB / 0.9565 GB, free: 0.5195 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.000496/0.8998, allocations: 65.69 kB / 0.9565 GB, free: 460 kB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001113/0.9009, allocations: 0.9111 MB / 0.9574 GB, free: 15.55 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007628/0.9017, allocations: 0.4938 MB / 0.9579 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005133/0.9022, allocations: 234.8 kB / 0.9581 GB, free: 14.83 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.9023, allocations: 353.9 kB / 0.9585 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001246/0.9036, allocations: 0.5726 MB / 0.959 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001511/0.9051, allocations: 0.7917 MB / 0.9598 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00273/0.9078, allocations: 1.311 MB / 0.9611 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.562e-06/0.9078, allocations: 0 / 0.9611 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004788/0.9126, allocations: 1.783 MB / 0.9628 GB, free: 9.938 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.037e-05/0.9127, allocations: 4 kB / 0.9628 GB, free: 9.934 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.9127, allocations: 4 kB / 0.9628 GB, free: 9.93 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001165/0.9138, allocations: 214.8 kB / 0.963 GB, free: 9.707 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001694/0.9155, allocations: 320.5 kB / 0.9633 GB, free: 9.406 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007523/0.9231, allocations: 7.328 MB / 0.9705 GB, free: 1.414 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002003/0.9251, allocations: 167.2 kB / 0.9706 GB, free: 1.25 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002523/0.9253, allocations: 47.97 kB / 0.9707 GB, free: 1.203 MB / 0.7012 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 (144): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001352/0.9267, allocations: 496.9 kB / 0.9712 GB, free: 0.7227 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007212/0.9274, allocations: 198.7 kB / 0.9714 GB, free: 0.5273 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005423/0.9328, allocations: 2.134 MB / 0.9734 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.815e-05/0.9328, allocations: 16 kB / 0.9735 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.548e-06/0.9328, allocations: 4 kB / 0.9735 GB, free: 14.36 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.854e-05/0.9329, allocations: 7.969 kB / 0.9735 GB, free: 14.35 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009422/0.9423, allocations: 4.125 MB / 0.9775 GB, free: 10.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.177e-05/0.9423, allocations: 0 / 0.9775 GB, free: 10.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001589/0.9439, allocations: 312.5 kB / 0.9778 GB, free: 9.902 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009819/0.9449, allocations: 214.5 kB / 0.978 GB, free: 9.68 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002561/0.9451, allocations: 39.97 kB / 0.978 GB, free: 9.641 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006927/0.9521, allocations: 7.362 MB / 0.9852 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.9521, allocations: 0 / 0.9852 GB, free: 1.609 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005281/0.9573, allocations: 2.008 MB / 0.9872 GB, free: 15.58 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001465/0.9588, allocations: 0.5226 MB / 0.9877 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005346/0.9593, allocations: 31.98 kB / 0.9877 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001696/0.961, allocations: 109.3 kB / 0.9878 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00042/0.9614, allocations: 111.7 kB / 0.9879 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002425/0.9617, allocations: 71.94 kB / 0.988 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.004201/0.9659, allocations: 3.14 MB / 0.9911 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9659, allocations: 0 / 0.9911 GB, free: 11.59 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002813/0.9687, allocations: 0.6976 MB / 0.9918 GB, free: 10.89 MB / 0.7325 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 (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (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.00784/0.9765, allocations: 3.205 MB / 0.9949 GB, free: 7.875 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004093/0.9806, allocations: 1.996 MB / 0.9968 GB, free: 5.832 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.959e-06/0.9806, allocations: 4.562 kB / 0.9968 GB, free: 5.828 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002351/0.983, allocations: 1.356 MB / 0.9982 GB, free: 4.434 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00289/0.9859, allocations: 0.5508 MB / 0.9987 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03458/1.02, allocations: 20.89 MB / 1.019 GB, free: 14.84 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001481/1.022, allocations: 1.545 MB / 1.021 GB, free: 13.26 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.002513/1.024, allocations: 0.5277 MB / 1.021 GB, free: 12.73 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00182/1.026, allocations: 0.9093 MB / 1.022 GB, free: 11.82 MB / 0.7637 GB Notification: Performance of SimCode: time 1.834e-06/1.026, allocations: 3.938 kB / 1.022 GB, free: 11.82 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1176/1.144, allocations: 49.55 MB / 1.07 GB, free: 10.79 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.13/17.27, allocations: 3.922 kB / 1.07 GB, free: 10.78 MB / 0.8106 GB " [Timeout remaining time 642] (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData_fmu --startTime=1.728e+07 --stopTime=1.78848e+07 --stepSize=241.92 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpData.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpData.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.385474389011506] Failed to read output from testmodel.py, exit status != 0: 17.553471615014132 17.572621069 16.729162954 Calling exit ...