Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001242/0.001242, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001512/0.001512, allocations: 210.5 kB / 22.24 MB, free: 4.859 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.394/1.394, allocations: 230.6 MB / 256 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.00275/0.00275, allocations: 296.4 kB / 312.7 MB, free: 2.621 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.199/1.199, allocations: 180.6 MB / 0.5369 GB, free: 14.52 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_h",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.003062/0.003062, allocations: 101.8 kB / 0.7395 GB, free: 28.5 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1629, allocations: 95.38 MB / 0.8326 GB, free: 8.301 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_h): time 0.5971/0.76, allocations: 155.3 MB / 0.9843 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.008528/0.7685, allocations: 8.009 MB / 0.9921 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006626/0.7692, allocations: 32.5 kB / 0.9922 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006674/0.7698, allocations: 307.1 kB / 0.9925 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0006544/0.7705, allocations: 328.6 kB / 0.9928 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009421/0.7714, allocations: 390.3 kB / 0.9932 GB, free: 3.566 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0009241/0.7723, allocations: 1.166 MB / 0.9943 GB, free: 3.562 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000572/0.7729, allocations: 441.7 kB / 0.9947 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004249/0.7772, allocations: 2.096 MB / 0.9968 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007317/0.7779, allocations: 359.3 kB / 0.9971 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001043/0.778, allocations: 39.47 kB / 0.9971 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003067/0.7783, allocations: 85.86 kB / 0.9972 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004212/0.7787, allocations: 265.4 kB / 0.9975 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0003951/0.7791, allocations: 234.7 kB / 0.9977 GB, free: 3.473 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001183/0.7803, allocations: 0.6376 MB / 0.9983 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.232e-06/0.7803, allocations: 3.781 kB / 0.9983 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.554e-06/0.7803, allocations: 0.9062 kB / 0.9983 GB, free: 3.434 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.169e-05/0.7803, allocations: 0.6562 kB / 0.9983 GB, free: 3.434 MB / 0.7169 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.001543/0.7819, allocations: 0.7693 MB / 0.9991 GB, free: 18.97 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.427e-05/0.7819, allocations: 12.7 kB / 0.9991 GB, free: 18.97 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001453/0.7821, allocations: 98.48 kB / 0.9992 GB, free: 18.93 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/0.7822, allocations: 73.05 kB / 0.9993 GB, free: 18.89 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008737/0.7831, allocations: 385 kB / 0.9996 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.595e-05/0.7832, allocations: 43.69 kB / 0.9997 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.622e-05/0.7832, allocations: 52.67 kB / 0.9997 GB, free: 18.7 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001115/0.7844, allocations: 0.7006 MB / 1 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.295e-05/0.7844, allocations: 5.125 kB / 1 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.47e-05/0.7844, allocations: 22.98 kB / 1 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.83e-05/0.7845, allocations: 34.03 kB / 1 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007921/0.7853, allocations: 379.2 kB / 1.001 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003023/0.7883, allocations: 3.074 MB / 1.004 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002167/0.7885, allocations: 218.6 kB / 1.004 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001975/0.7887, allocations: 124.3 kB / 1.004 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.7888, allocations: 6.703 kB / 1.004 GB, free: 15.78 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.622e-05/0.7888, allocations: 47.34 kB / 1.004 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=10): time 1.613e-06/0.7888, allocations: 0.5312 kB / 1.004 GB, free: 15.74 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10): time 0.0007198/0.7895, allocations: 248.4 kB / 1.004 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001766/0.7897, allocations: 299.8 kB / 1.005 GB, free: 15.33 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001039/0.7907, allocations: 0.6832 MB / 1.005 GB, free: 15.2 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/0.7908, allocations: 30.3 kB / 1.005 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000192/0.791, allocations: 265.3 kB / 1.006 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.068e-05/0.791, allocations: 40.3 kB / 1.006 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.804e-05/0.791, allocations: 27.94 kB / 1.006 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.7912, allocations: 374.7 kB / 1.006 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001047/0.7913, allocations: 38.69 kB / 1.006 GB, free: 14.73 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002196/0.7915, allocations: 224.4 kB / 1.006 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002186/0.7918, allocations: 130.3 kB / 1.006 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.7918, allocations: 1.094 kB / 1.006 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003287/0.7921, allocations: 190.4 kB / 1.007 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.7921, allocations: 6.906 kB / 1.007 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.7921, allocations: 3.094 kB / 1.007 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.7921, allocations: 2.062 kB / 1.007 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002148/0.7923, allocations: 46.5 kB / 1.007 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.7923, allocations: 4.609 kB / 1.007 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002145/0.7926, allocations: 60.73 kB / 1.007 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.276e-05/0.7926, allocations: 6.594 kB / 1.007 GB, free: 14.38 MB / 0.7325 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.0001989/0.7928, allocations: 204.2 kB / 1.007 GB, free: 14.26 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001951/0.793, allocations: 64.91 kB / 1.007 GB, free: 14.23 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.804e-05/0.7931, allocations: 65.25 kB / 1.007 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.102e-06/0.7931, allocations: 7.844 kB / 1.007 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.7931, allocations: 2.438 kB / 1.007 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.7931, allocations: 3.281 kB / 1.007 GB, free: 14.21 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001376/0.7945, allocations: 1.232 MB / 1.008 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.487e-06/0.7945, allocations: 2.344 kB / 1.008 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001819/0.7946, allocations: 46.09 kB / 1.008 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.03e-06/0.7946, allocations: 4.812 kB / 1.008 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.331e-05/0.7947, allocations: 4.031 kB / 1.008 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.7947, allocations: 5.703 kB / 1.008 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.7947, allocations: 6.375 kB / 1.008 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003596/0.795, allocations: 337.7 kB / 1.009 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.7952, allocations: 81.3 kB / 1.009 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.619e-05/0.7952, allocations: 3.344 kB / 1.009 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001679/0.7954, allocations: 12.81 kB / 1.009 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.891e-05/0.7954, allocations: 19.55 kB / 1.009 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-06/0.7954, allocations: 8.938 kB / 1.009 GB, free: 13 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004848/0.7959, allocations: 0.4927 MB / 1.009 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7959, allocations: 0 / 1.009 GB, free: 12.91 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003942/0.7963, allocations: 85.67 kB / 1.009 GB, free: 12.9 MB / 0.7325 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.0007356/0.7971, allocations: 0.8889 MB / 1.01 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002851/0.7973, allocations: 108.7 kB / 1.01 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.7973, allocations: 1.125 kB / 1.01 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001293/0.7975, allocations: 60.27 kB / 1.01 GB, free: 12.14 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001211/0.7987, allocations: 287.2 kB / 1.011 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004916/0.8036, allocations: 4.459 MB / 1.015 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00026/0.8039, allocations: 310.7 kB / 1.015 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002612/0.8041, allocations: 103.8 kB / 1.015 GB, free: 10.27 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001632/0.8043, allocations: 171.3 kB / 1.016 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of SimCode: time 5.51e-07/0.8043, allocations: 0.9688 kB / 1.016 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04323/0.8475, allocations: 15.23 MB / 1.03 GB, free: 8.453 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.98/11.83, allocations: 5.766 kB / 1.03 GB, free: 8.453 MB / 0.7325 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_h_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_h.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.PropertySource_h.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.842933797743171] Failed to read output from testmodel.py, exit status != 0: 11.935379550792277 11.948127697 11.165045951 Calling exit ...