Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.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.001286/0.001286, allocations: 116.8 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.001397/0.001397, allocations: 212 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.428/1.428, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.002368/0.002368, allocations: 283.1 kB / 309.8 MB, free: 3.457 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.043/1.043, allocations: 180.6 MB / 0.5338 GB, free: 12.39 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.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterDerivativeCheck",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterDerivativeCheck",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.002835/0.002835, allocations: 99.84 kB / 0.7346 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5092/0.512, allocations: 95.33 MB / 0.8277 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck): time 0.002097/0.5141, allocations: 1.298 MB / 0.829 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002942/0.5171, allocations: 2.979 MB / 0.8319 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.53e-05/0.5171, allocations: 6.562 kB / 0.8319 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 1.483e-05/0.5171, allocations: 1.688 kB / 0.8319 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 3.991e-05/0.5171, allocations: 3.844 kB / 0.8319 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.000481/0.5176, allocations: 112.4 kB / 0.832 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.042e-05/0.5177, allocations: 29.97 kB / 0.8321 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.193e-05/0.5177, allocations: 3.641 kB / 0.8321 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004323/0.5181, allocations: 170.1 kB / 0.8322 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 4.247e-05/0.5182, allocations: 17.27 kB / 0.8322 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 9.217e-06/0.5182, allocations: 2.625 kB / 0.8322 GB, free: 15.84 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.5183, allocations: 60.89 kB / 0.8323 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.662e-05/0.5184, allocations: 12.34 kB / 0.8323 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.064e-05/0.5184, allocations: 19.05 kB / 0.8323 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0001561/0.5185, allocations: 57.42 kB / 0.8324 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.676e-06/0.5186, allocations: 0 / 0.8324 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.343e-06/0.5186, allocations: 0 / 0.8324 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.5186, allocations: 2.625 kB / 0.8324 GB, free: 15.79 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004313/0.519, allocations: 353.6 kB / 0.8327 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.519, allocations: 9.219 kB / 0.8327 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.78e-05/0.519, allocations: 2.812 kB / 0.8327 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.184e-05/0.5191, allocations: 39.95 kB / 0.8328 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.954e-05/0.5191, allocations: 7.562 kB / 0.8328 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.5192, allocations: 172.1 kB / 0.8329 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.155e-06/0.5192, allocations: 4.359 kB / 0.833 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.97e-05/0.5193, allocations: 13.89 kB / 0.833 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001233/0.5194, allocations: 48.44 kB / 0.833 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.965e-06/0.5194, allocations: 0 / 0.833 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.5194, allocations: 0.5625 kB / 0.833 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.708e-06/0.5194, allocations: 1.281 kB / 0.833 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.469e-05/0.5195, allocations: 23.39 kB / 0.833 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001958/0.5197, allocations: 167.9 kB / 0.8332 GB, free: 14.91 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.5198, allocations: 48.22 kB / 0.8332 GB, free: 14.88 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.258e-05/0.5198, allocations: 14.75 kB / 0.8333 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007248/0.5205, allocations: 0.5968 MB / 0.8338 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.124e-05/0.5205, allocations: 37.19 kB / 0.8339 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.5205, allocations: 0 / 0.8339 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of matching and sorting (n=7): time 0.0006203/0.5212, allocations: 296.7 kB / 0.8342 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.838e-05/0.5212, allocations: 52.39 kB / 0.8342 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.123e-05/0.5213, allocations: 102.2 kB / 0.8343 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.919e-05/0.5213, allocations: 29.28 kB / 0.8343 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.488e-05/0.5214, allocations: 92.73 kB / 0.8344 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 2.18e-05/0.5214, allocations: 32.56 kB / 0.8345 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.053e-05/0.5214, allocations: 23.69 kB / 0.8345 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001493/0.5216, allocations: 318.9 kB / 0.8348 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.927e-05/0.5216, allocations: 19.16 kB / 0.8348 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.195e-05/0.5217, allocations: 51 kB / 0.8348 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.956e-05/0.5218, allocations: 76.08 kB / 0.8349 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.5218, allocations: 2.719 kB / 0.8349 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001446/0.5219, allocations: 97.22 kB / 0.835 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.5219, allocations: 7.031 kB / 0.835 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.5219, allocations: 4 kB / 0.835 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.522, allocations: 3.703 kB / 0.835 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.054e-05/0.522, allocations: 19.03 kB / 0.835 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.522, allocations: 6.125 kB / 0.8351 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.465e-05/0.5221, allocations: 1.094 kB / 0.8351 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.5221, allocations: 7.875 kB / 0.8351 GB, free: 13.05 MB / 0.5919 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 (12): * Single equations (assignments): 12 * 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 8.942e-05/0.5222, allocations: 125.5 kB / 0.8352 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.818e-05/0.5222, allocations: 7.266 kB / 0.8352 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.806e-05/0.5222, allocations: 13.34 kB / 0.8352 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.5222, allocations: 0.6562 kB / 0.8352 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.99e-06/0.5222, allocations: 6.469 kB / 0.8352 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.257e-06/0.5222, allocations: 0.6094 kB / 0.8352 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002612/0.5225, allocations: 173.5 kB / 0.8354 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5225, allocations: 0 / 0.8354 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.203e-05/0.5226, allocations: 16.95 kB / 0.8354 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.5226, allocations: 0.5625 kB / 0.8354 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.312e-06/0.5226, allocations: 0 / 0.8354 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.5226, allocations: 0.7969 kB / 0.8354 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.576e-06/0.5226, allocations: 3.938 kB / 0.8354 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001955/0.5228, allocations: 179.8 kB / 0.8356 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.887e-05/0.5229, allocations: 82.05 kB / 0.8356 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.5229, allocations: 0.75 kB / 0.8356 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.523, allocations: 4.984 kB / 0.8356 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.784e-05/0.523, allocations: 5.906 kB / 0.8357 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.965e-06/0.523, allocations: 11.69 kB / 0.8357 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.697e-05/0.523, allocations: 78.89 kB / 0.8357 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.523, allocations: 4 kB / 0.8357 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002291/0.5233, allocations: 10.09 kB / 0.8358 GB, free: 12.37 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0004933/0.5238, allocations: 0.7173 MB / 0.8365 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001214/0.5239, allocations: 46.2 kB / 0.8365 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.5239, allocations: 0 / 0.8365 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 2.093e-05/0.5239, allocations: 11.41 kB / 0.8365 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002563/0.5242, allocations: 15.38 kB / 0.8365 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001587/0.5258, allocations: 1.536 MB / 0.838 GB, free: 10.21 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000304/0.5261, allocations: 0.685 MB / 0.8387 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.348e-05/0.5261, allocations: 6.547 kB / 0.8387 GB, free: 9.508 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.36e-05/0.5261, allocations: 16.41 kB / 0.8387 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.5261, allocations: 1.594 kB / 0.8387 GB, free: 9.496 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01912/0.5453, allocations: 1.737 MB / 0.8404 GB, free: 9.113 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.893/8.438, allocations: 6.75 kB / 0.8404 GB, free: 9.109 MB / 0.5919 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterDerivativeCheck_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterDerivativeCheck.fmu > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterDerivativeCheck.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.268697219027672] Failed to read output from testmodel.py, exit status != 0: 8.559092539013363 8.57326978 8.051853004 Calling exit ...