Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.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.001339/0.001339, allocations: 119.2 kB / 19.7 MB, free: 2.188 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.001473/0.001473, allocations: 227.9 kB / 23.01 MB, free: 5.004 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.381/1.381, allocations: 230.6 MB / 256.8 MB, free: 7.973 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.9027/0.9027, allocations: 150 MB / 463.2 MB, free: 10.51 MB / 366.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.PropertySource_h,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_h",fmuType="me",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.00314/0.00314, allocations: 67.16 kB / 0.6413 GB, free: 10.4 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1905, allocations: 89.17 MB / 0.7283 GB, free: 1.301 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.PropertySource_h): time 0.5736/0.7641, allocations: 179.8 MB / 0.9039 GB, free: 3.586 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01171/0.7758, allocations: 8.838 MB / 0.9125 GB, free: 10.72 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000817/0.7766, allocations: 35.69 kB / 0.9126 GB, free: 10.69 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.001007/0.7776, allocations: 305.7 kB / 0.9128 GB, free: 10.39 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001048/0.7787, allocations: 314.4 kB / 0.9131 GB, free: 10.08 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001316/0.78, allocations: 414.1 kB / 0.9135 GB, free: 9.676 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001689/0.7817, allocations: 1.168 MB / 0.9147 GB, free: 8.508 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009597/0.7826, allocations: 447.1 kB / 0.9151 GB, free: 8.066 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00527/0.7879, allocations: 2.164 MB / 0.9172 GB, free: 5.895 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006879/0.7886, allocations: 378.3 kB / 0.9176 GB, free: 5.523 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001154/0.7887, allocations: 40 kB / 0.9176 GB, free: 5.484 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002849/0.789, allocations: 83.94 kB / 0.9177 GB, free: 5.402 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003422/0.7893, allocations: 271.2 kB / 0.918 GB, free: 5.137 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0004449/0.7898, allocations: 286.5 kB / 0.9182 GB, free: 4.855 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0008867/0.7907, allocations: 0.634 MB / 0.9188 GB, free: 4.219 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.7907, allocations: 0 / 0.9188 GB, free: 4.219 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.613e-06/0.7907, allocations: 4 kB / 0.9189 GB, free: 4.215 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.9e-05/0.7907, allocations: 0 / 0.9189 GB, free: 4.215 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001309/0.792, allocations: 0.7697 MB / 0.9196 GB, free: 3.41 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.716e-05/0.7921, allocations: 8.031 kB / 0.9196 GB, free: 3.402 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001278/0.7922, allocations: 94.52 kB / 0.9197 GB, free: 3.301 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.7923, allocations: 71.58 kB / 0.9198 GB, free: 3.23 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008299/0.7931, allocations: 387.2 kB / 0.9201 GB, free: 2.824 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.326e-05/0.7932, allocations: 37.31 kB / 0.9202 GB, free: 2.789 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.998e-05/0.7933, allocations: 55.98 kB / 0.9202 GB, free: 2.734 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001098/0.7944, allocations: 0.6969 MB / 0.9209 GB, free: 1.957 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.74e-05/0.7944, allocations: 15.88 kB / 0.9209 GB, free: 1.941 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.354e-05/0.7944, allocations: 19.98 kB / 0.9209 GB, free: 1.922 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.605e-05/0.7945, allocations: 31.98 kB / 0.921 GB, free: 1.891 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007299/0.7952, allocations: 374.2 kB / 0.9213 GB, free: 1.527 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003166/0.7984, allocations: 3.157 MB / 0.9244 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002912/0.7987, allocations: 214.1 kB / 0.9246 GB, free: 13.93 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002084/0.7989, allocations: 132.5 kB / 0.9247 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 1.972e-05/0.7989, allocations: 8 kB / 0.9248 GB, free: 13.76 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.065e-05/0.799, allocations: 46.42 kB / 0.9248 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=10): time 1.583e-06/0.799, allocations: 0 / 0.9248 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of matching and sorting (n=10): time 0.0006835/0.7996, allocations: 253.7 kB / 0.925 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001688/0.7998, allocations: 290.7 kB / 0.9253 GB, free: 13.1 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007786/0.8006, allocations: 0.6842 MB / 0.926 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.8006, allocations: 33.7 kB / 0.926 GB, free: 12.37 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002226/0.8008, allocations: 264.3 kB / 0.9263 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.126e-05/0.8009, allocations: 39.69 kB / 0.9263 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.631e-05/0.8009, allocations: 29.7 kB / 0.9263 GB, free: 12.03 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001972/0.8011, allocations: 370.8 kB / 0.9267 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001081/0.8012, allocations: 39.91 kB / 0.9267 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001682/0.8014, allocations: 105 kB / 0.9268 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002329/0.8016, allocations: 121 kB / 0.9269 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.8016, allocations: 0 / 0.9269 GB, free: 11.36 MB / 0.7012 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003385/0.802, allocations: 193.9 kB / 0.9271 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/0.802, allocations: 8 kB / 0.9271 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.802, allocations: 192 / 0.9271 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.802, allocations: 8.328 kB / 0.9271 GB, free: 11.15 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002186/0.8022, allocations: 43.89 kB / 0.9272 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.046e-05/0.8023, allocations: 6.109 kB / 0.9272 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002621/0.8025, allocations: 59.44 kB / 0.9272 GB, free: 11.05 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.8025, allocations: 8.75 kB / 0.9273 GB, free: 11.04 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002182/0.8028, allocations: 201.7 kB / 0.9274 GB, free: 10.83 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002108/0.803, allocations: 67.56 kB / 0.9275 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.68e-05/0.8031, allocations: 60.25 kB / 0.9276 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.8031, allocations: 4 kB / 0.9276 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.241e-06/0.8031, allocations: 4 kB / 0.9276 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.8031, allocations: 7.938 kB / 0.9276 GB, free: 10.69 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001444/0.8045, allocations: 1.265 MB / 0.9288 GB, free: 9.34 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.119e-06/0.8045, allocations: 7.938 kB / 0.9288 GB, free: 9.336 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001802/0.8047, allocations: 44.17 kB / 0.9289 GB, free: 9.293 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.8047, allocations: 4 kB / 0.9289 GB, free: 9.289 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.168e-05/0.8047, allocations: 4 kB / 0.9289 GB, free: 9.285 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.268e-06/0.8047, allocations: 4 kB / 0.9289 GB, free: 9.281 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.8047, allocations: 7.938 kB / 0.9289 GB, free: 9.273 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004045/0.8051, allocations: 334.7 kB / 0.9292 GB, free: 8.902 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/0.8053, allocations: 79.47 kB / 0.9293 GB, free: 8.824 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.925e-05/0.8053, allocations: 11.98 kB / 0.9293 GB, free: 8.812 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001594/0.8055, allocations: 8 kB / 0.9293 GB, free: 8.805 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.439e-05/0.8055, allocations: 15.92 kB / 0.9293 GB, free: 8.789 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.8055, allocations: 4 kB / 0.9293 GB, free: 8.785 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.000573/0.8061, allocations: 0.4912 MB / 0.9298 GB, free: 8.301 MB / 0.7012 GB Notification: Performance of sort global known variables: time 8e-08/0.8061, allocations: 0 / 0.9298 GB, free: 8.301 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0003789/0.8065, allocations: 88.17 kB / 0.9299 GB, free: 8.215 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0008474/0.8073, allocations: 0.9029 MB / 0.9308 GB, free: 7.258 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0003098/0.8077, allocations: 107.8 kB / 0.9309 GB, free: 7.152 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.8077, allocations: 0 / 0.9309 GB, free: 7.152 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.8078, allocations: 63.83 kB / 0.9309 GB, free: 7.09 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001218/0.809, allocations: 278 kB / 0.9312 GB, free: 6.836 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005705/0.8147, allocations: 4.458 MB / 0.9355 GB, free: 2.211 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005499/0.8153, allocations: 0.9128 MB / 0.9364 GB, free: 1.273 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0002555/0.8155, allocations: 96.62 kB / 0.9365 GB, free: 1.18 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002096/0.8157, allocations: 179.3 kB / 0.9367 GB, free: 1.004 MB / 0.7012 GB Notification: Performance of SimCode: time 3.11e-07/0.8157, allocations: 0 / 0.9367 GB, free: 1.004 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0439/0.8596, allocations: 13.75 MB / 0.9501 GB, free: 3.531 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.7/12.56, allocations: 13.95 kB / 0.9501 GB, free: 3.52 MB / 0.7169 GB " [Timeout remaining time 647] (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_h.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.11262491508387] Failed to read output from testmodel.py, exit status != 0: 12.669303722912446 12.68902545 11.894237322 Calling exit ...