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.001632/0.001632, allocations: 109 kB / 20.48 MB, free: 1.473 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.001401/0.001401, allocations: 210.7 kB / 23.79 MB, free: 4.684 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.366/1.366, allocations: 230.6 MB / 257.6 MB, free: 8.012 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.9332/0.9332, allocations: 150 MB / 464 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_PropertySource_h",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.002997/0.002997, allocations: 62.09 kB / 0.642 GB, free: 10.41 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.1908, allocations: 89.17 MB / 0.7291 GB, free: 1.312 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.PropertySource_h): time 0.5433/0.734, allocations: 179.8 MB / 0.9047 GB, free: 3.602 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01088/0.7449, allocations: 8.833 MB / 0.9133 GB, free: 10.74 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007846/0.7457, allocations: 31.69 kB / 0.9133 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0008585/0.7466, allocations: 305.7 kB / 0.9136 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0008057/0.7474, allocations: 322.4 kB / 0.9139 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.7484, allocations: 414.6 kB / 0.9143 GB, free: 9.691 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001307/0.7498, allocations: 1.164 MB / 0.9154 GB, free: 8.527 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006954/0.7504, allocations: 451.1 kB / 0.9159 GB, free: 8.082 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005387/0.7558, allocations: 2.164 MB / 0.918 GB, free: 5.91 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006375/0.7565, allocations: 374.3 kB / 0.9183 GB, free: 5.543 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 7.229e-05/0.7565, allocations: 40 kB / 0.9184 GB, free: 5.504 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002369/0.7568, allocations: 79.95 kB / 0.9185 GB, free: 5.426 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002855/0.7571, allocations: 275.2 kB / 0.9187 GB, free: 5.156 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0003077/0.7574, allocations: 286.5 kB / 0.919 GB, free: 4.875 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0008045/0.7582, allocations: 0.6262 MB / 0.9196 GB, free: 4.246 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.7582, allocations: 4 kB / 0.9196 GB, free: 4.242 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7582, allocations: 0 / 0.9196 GB, free: 4.242 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 9.948e-06/0.7582, allocations: 4 kB / 0.9196 GB, free: 4.238 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.001091/0.7593, allocations: 0.7735 MB / 0.9204 GB, free: 3.43 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.398e-05/0.7593, allocations: 8.031 kB / 0.9204 GB, free: 3.422 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.836e-05/0.7594, allocations: 17.31 kB / 0.9204 GB, free: 3.406 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001356/0.7595, allocations: 94.52 kB / 0.9205 GB, free: 3.305 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.7596, allocations: 67.58 kB / 0.9205 GB, free: 3.238 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007079/0.7603, allocations: 383.3 kB / 0.9209 GB, free: 2.836 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.023e-05/0.7603, allocations: 45.3 kB / 0.921 GB, free: 2.793 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.432e-05/0.7604, allocations: 52 kB / 0.921 GB, free: 2.742 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001058/0.7615, allocations: 0.7066 MB / 0.9217 GB, free: 1.949 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.148e-05/0.7615, allocations: 3.938 kB / 0.9217 GB, free: 1.945 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.415e-05/0.7615, allocations: 24 kB / 0.9217 GB, free: 1.922 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.996e-05/0.7616, allocations: 23.98 kB / 0.9217 GB, free: 1.898 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006306/0.7622, allocations: 376.5 kB / 0.9221 GB, free: 1.531 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002832/0.7651, allocations: 3.157 MB / 0.9252 GB, free: 14.24 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003014/0.7654, allocations: 230.1 kB / 0.9254 GB, free: 13.92 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001995/0.7656, allocations: 124.5 kB / 0.9255 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 1.265e-05/0.7656, allocations: 7.922 kB / 0.9255 GB, free: 13.76 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.8e-05/0.7656, allocations: 46.5 kB / 0.9256 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=10): time 1.653e-06/0.7656, allocations: 4 kB / 0.9256 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of matching and sorting (n=10): time 0.0006945/0.7663, allocations: 246.2 kB / 0.9258 GB, free: 13.46 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001601/0.7665, allocations: 290.7 kB / 0.9261 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007732/0.7672, allocations: 0.6877 MB / 0.9268 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.7673, allocations: 29.7 kB / 0.9268 GB, free: 12.37 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002294/0.7675, allocations: 264.3 kB / 0.927 GB, free: 12.11 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 4.159e-05/0.7675, allocations: 39.69 kB / 0.9271 GB, free: 12.07 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-05/0.7676, allocations: 25.72 kB / 0.9271 GB, free: 12.04 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001927/0.7678, allocations: 374.7 kB / 0.9275 GB, free: 11.66 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001174/0.7679, allocations: 40.47 kB / 0.9275 GB, free: 11.62 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001749/0.7681, allocations: 97.03 kB / 0.9276 GB, free: 11.51 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000254/0.7683, allocations: 121 kB / 0.9277 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.7683, allocations: 6.625 kB / 0.9277 GB, free: 11.37 MB / 0.7012 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003729/0.7687, allocations: 201.1 kB / 0.9279 GB, free: 11.17 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.7687, allocations: 4.328 kB / 0.9279 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.7687, allocations: 0 / 0.9279 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.845e-05/0.7688, allocations: 4 kB / 0.9279 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002237/0.769, allocations: 47.83 kB / 0.928 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.769, allocations: 0 / 0.928 GB, free: 11.11 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002042/0.7692, allocations: 55.62 kB / 0.928 GB, free: 11.06 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.65e-05/0.7692, allocations: 16 kB / 0.928 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.0002151/0.7694, allocations: 197.7 kB / 0.9282 GB, free: 10.84 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000228/0.7697, allocations: 67.55 kB / 0.9283 GB, free: 10.77 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001322/0.7698, allocations: 64.27 kB / 0.9283 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.509e-06/0.7698, allocations: 0 / 0.9283 GB, free: 10.71 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.015e-06/0.7698, allocations: 4 kB / 0.9284 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.905e-06/0.7698, allocations: 4 kB / 0.9284 GB, free: 10.7 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001499/0.7713, allocations: 1.268 MB / 0.9296 GB, free: 9.348 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.7713, allocations: 8.281 kB / 0.9296 GB, free: 9.34 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001946/0.7715, allocations: 39.95 kB / 0.9296 GB, free: 9.301 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.633e-06/0.7715, allocations: 4 kB / 0.9296 GB, free: 9.297 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.244e-05/0.7715, allocations: 4 kB / 0.9296 GB, free: 9.293 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.855e-06/0.7715, allocations: 7.875 kB / 0.9297 GB, free: 9.285 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.7715, allocations: 4 kB / 0.9297 GB, free: 9.281 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004258/0.772, allocations: 343.6 kB / 0.93 GB, free: 8.902 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001544/0.7721, allocations: 75.55 kB / 0.9301 GB, free: 8.828 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.077e-05/0.7722, allocations: 7.984 kB / 0.9301 GB, free: 8.82 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.7724, allocations: 7.938 kB / 0.9301 GB, free: 8.812 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.256e-05/0.7724, allocations: 16.2 kB / 0.9301 GB, free: 8.797 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.7724, allocations: 8 kB / 0.9301 GB, free: 8.789 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0005868/0.773, allocations: 0.4951 MB / 0.9306 GB, free: 8.301 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.1e-07/0.773, allocations: 7.938 kB / 0.9306 GB, free: 8.293 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0003918/0.7734, allocations: 83.88 kB / 0.9307 GB, free: 8.211 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.0008786/0.7743, allocations: 0.8913 MB / 0.9315 GB, free: 7.262 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0003277/0.7746, allocations: 103.8 kB / 0.9316 GB, free: 7.16 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.7746, allocations: 0 / 0.9316 GB, free: 7.16 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001494/0.7748, allocations: 68.7 kB / 0.9317 GB, free: 7.094 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001293/0.776, allocations: 284.8 kB / 0.932 GB, free: 6.84 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005823/0.7819, allocations: 4.458 MB / 0.9363 GB, free: 2.215 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005243/0.7824, allocations: 0.9127 MB / 0.9372 GB, free: 1.277 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0002919/0.7827, allocations: 104.6 kB / 0.9373 GB, free: 1.176 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002004/0.7829, allocations: 171.4 kB / 0.9375 GB, free: 1.008 MB / 0.7012 GB Notification: Performance of SimCode: time 1.373e-06/0.7829, allocations: 0 / 0.9375 GB, free: 1.008 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0378/0.8207, allocations: 13.78 MB / 0.9509 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.59/12.41, allocations: 11.38 kB / 0.951 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.153446722018998] Failed to read output from testmodel.py, exit status != 0: 12.58239480399061 12.606664314 11.843516784 Calling exit ...