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.00132/0.00132, allocations: 117.1 kB / 17.16 MB, free: 5.895 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.001474/0.001474, allocations: 215 kB / 20.13 MB, free: 2.949 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.477/1.477, allocations: 230.6 MB / 253.5 MB, free: 15.11 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.002448/0.002448, allocations: 290.6 kB / 309.8 MB, free: 3.43 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.072/1.072, allocations: 180.6 MB / 0.5338 GB, free: 12.4 MB / 398.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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.PropertySource_h,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_PropertySource_h",fmuType="cs",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.00289/0.00289, allocations: 95.86 kB / 0.7347 GB, free: 2.473 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5312/0.534, allocations: 95.34 MB / 0.8278 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.PropertySource_h): time 0.2172/0.7513, allocations: 179.5 MB / 1.003 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01104/0.7623, allocations: 8.759 MB / 1.012 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008943/0.7632, allocations: 31.69 kB / 1.012 GB, free: 13.22 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.000854/0.7641, allocations: 309.7 kB / 1.012 GB, free: 12.91 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.0007656/0.7648, allocations: 322.4 kB / 1.012 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.001051/0.7659, allocations: 377 kB / 1.013 GB, free: 12.23 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.001406/0.7673, allocations: 1.152 MB / 1.014 GB, free: 11.07 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008024/0.7681, allocations: 0.4945 MB / 1.014 GB, free: 10.58 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004786/0.7729, allocations: 2.137 MB / 1.016 GB, free: 8.434 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006022/0.7735, allocations: 386.3 kB / 1.017 GB, free: 8.055 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 8.338e-05/0.7736, allocations: 40 kB / 1.017 GB, free: 8.016 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002324/0.7738, allocations: 91.88 kB / 1.017 GB, free: 7.926 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002788/0.7741, allocations: 259.3 kB / 1.017 GB, free: 7.672 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0003128/0.7744, allocations: 286.5 kB / 1.017 GB, free: 7.391 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0007755/0.7752, allocations: 0.6417 MB / 1.018 GB, free: 6.746 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.7752, allocations: 0 / 1.018 GB, free: 6.746 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.342e-06/0.7752, allocations: 0 / 1.018 GB, free: 6.746 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 9.788e-06/0.7752, allocations: 0 / 1.018 GB, free: 6.746 MB / 0.7481 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.001144/0.7763, allocations: 0.8373 MB / 1.019 GB, free: 5.855 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.558e-05/0.7764, allocations: 12.03 kB / 1.019 GB, free: 5.844 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.277e-05/0.7764, allocations: 13.31 kB / 1.019 GB, free: 5.832 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001081/0.7765, allocations: 102.4 kB / 1.019 GB, free: 5.723 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001071/0.7766, allocations: 67.58 kB / 1.019 GB, free: 5.656 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007188/0.7773, allocations: 446.5 kB / 1.019 GB, free: 5.176 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.204e-05/0.7774, allocations: 33.31 kB / 1.019 GB, free: 5.145 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.458e-05/0.7775, allocations: 59.98 kB / 1.019 GB, free: 5.086 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001069/0.7785, allocations: 0.6988 MB / 1.02 GB, free: 4.301 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.009e-05/0.7785, allocations: 8 kB / 1.02 GB, free: 4.293 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.788e-05/0.7786, allocations: 27.92 kB / 1.02 GB, free: 4.266 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.935e-05/0.7786, allocations: 35.92 kB / 1.02 GB, free: 4.23 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006771/0.7793, allocations: 371.4 kB / 1.021 GB, free: 3.867 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003047/0.7824, allocations: 3.217 MB / 1.024 GB, free: 0.5078 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003174/0.7827, allocations: 214.1 kB / 1.024 GB, free: 212 kB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002115/0.7829, allocations: 128.6 kB / 1.024 GB, free: 52 kB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.7829, allocations: 11.94 kB / 1.024 GB, free: 40 kB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.126e-05/0.783, allocations: 46.55 kB / 1.024 GB, free: 15.98 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=10): time 1.813e-06/0.783, allocations: 0 / 1.024 GB, free: 15.98 MB / 0.7637 GB Notification: Performance of matching and sorting (n=10): time 0.0007459/0.7837, allocations: 253.6 kB / 1.024 GB, free: 15.73 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001705/0.7839, allocations: 298.7 kB / 1.025 GB, free: 15.37 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008215/0.7847, allocations: 0.6805 MB / 1.025 GB, free: 14.68 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 2.746e-05/0.7847, allocations: 33.7 kB / 1.025 GB, free: 14.64 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002323/0.785, allocations: 264.3 kB / 1.026 GB, free: 14.38 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 4.656e-05/0.785, allocations: 39.67 kB / 1.026 GB, free: 14.34 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.614e-05/0.7851, allocations: 33.7 kB / 1.026 GB, free: 14.3 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001912/0.7853, allocations: 366.8 kB / 1.026 GB, free: 13.93 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001206/0.7854, allocations: 35.95 kB / 1.026 GB, free: 13.89 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001907/0.7856, allocations: 97.05 kB / 1.026 GB, free: 13.78 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002671/0.7859, allocations: 133.2 kB / 1.026 GB, free: 13.63 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.7859, allocations: 0 / 1.026 GB, free: 13.63 MB / 0.7637 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003807/0.7862, allocations: 193.1 kB / 1.026 GB, free: 13.44 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.7863, allocations: 7.938 kB / 1.026 GB, free: 13.43 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.7863, allocations: 8.188 kB / 1.026 GB, free: 13.42 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.7863, allocations: 0 / 1.026 GB, free: 13.42 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002393/0.7865, allocations: 44.02 kB / 1.026 GB, free: 13.38 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.91e-05/0.7865, allocations: 11.94 kB / 1.026 GB, free: 13.37 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002253/0.7868, allocations: 55.5 kB / 1.027 GB, free: 13.31 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.187e-05/0.7868, allocations: 4 kB / 1.027 GB, free: 13.31 MB / 0.7637 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.0002432/0.787, allocations: 209.8 kB / 1.027 GB, free: 13.09 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002167/0.7873, allocations: 63.56 kB / 1.027 GB, free: 13.03 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.666e-05/0.7873, allocations: 56.33 kB / 1.027 GB, free: 12.97 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.7873, allocations: 7.984 kB / 1.027 GB, free: 12.96 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.642e-06/0.7874, allocations: 4 kB / 1.027 GB, free: 12.96 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.7874, allocations: 0 / 1.027 GB, free: 12.96 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001487/0.7888, allocations: 1.3 MB / 1.028 GB, free: 11.57 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.7888, allocations: 0 / 1.028 GB, free: 11.57 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001974/0.789, allocations: 44.23 kB / 1.028 GB, free: 11.53 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.402e-06/0.7891, allocations: 8 kB / 1.028 GB, free: 11.52 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.7891, allocations: 4 kB / 1.028 GB, free: 11.52 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.7891, allocations: 4 kB / 1.028 GB, free: 11.51 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.008e-06/0.7891, allocations: 7.875 kB / 1.028 GB, free: 11.5 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004337/0.7895, allocations: 342.6 kB / 1.029 GB, free: 11.13 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001736/0.7897, allocations: 148.7 kB / 1.029 GB, free: 10.96 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.424e-05/0.7897, allocations: 8 kB / 1.029 GB, free: 10.96 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001693/0.7899, allocations: 12 kB / 1.029 GB, free: 10.95 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.266e-05/0.79, allocations: 15.86 kB / 1.029 GB, free: 10.93 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.79, allocations: 4 kB / 1.029 GB, free: 10.93 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0006008/0.7906, allocations: 0.4951 MB / 1.029 GB, free: 10.44 MB / 0.7637 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7906, allocations: 0 / 1.029 GB, free: 10.44 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.0004097/0.791, allocations: 87.88 kB / 1.029 GB, free: 10.35 MB / 0.7637 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.0008702/0.7918, allocations: 0.8997 MB / 1.03 GB, free: 9.398 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.0003582/0.7922, allocations: 111.8 kB / 1.03 GB, free: 9.289 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.7922, allocations: 4 kB / 1.03 GB, free: 9.285 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.0001454/0.7924, allocations: 55.89 kB / 1.03 GB, free: 9.23 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/0.7937, allocations: 277.5 kB / 1.031 GB, free: 8.957 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006134/0.7998, allocations: 4.451 MB / 1.035 GB, free: 4.348 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005891/0.8004, allocations: 0.9088 MB / 1.036 GB, free: 3.414 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.0004018/0.8008, allocations: 100.6 kB / 1.036 GB, free: 3.316 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003036/0.8011, allocations: 179.3 kB / 1.036 GB, free: 3.141 MB / 0.7637 GB Notification: Performance of SimCode: time 1.242e-06/0.8011, allocations: 0 / 1.036 GB, free: 3.141 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04033/0.8415, allocations: 13.67 MB / 1.049 GB, free: 5.738 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.57/9.411, allocations: 8.047 kB / 1.049 GB, free: 5.73 MB / 0.7794 GB " [Timeout remaining time 650] (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: 13.434845433977898] Failed to read output from testmodel.py, exit status != 0: 9.540109522989951 9.553445096 8.775369725000001 Calling exit ...