Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.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.001398/0.001398, 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.001517/0.001517, allocations: 213.4 kB / 22.25 MB, free: 4.855 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.511/1.511, allocations: 230.6 MB / 256 MB, free: 7.785 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.002631/0.002631, allocations: 295.9 kB / 312.7 MB, free: 2.609 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.259/1.259, allocations: 180.6 MB / 0.5369 GB, free: 14.69 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: translateModel(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater") translateModel(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater") [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.0029/0.0029, allocations: 104.4 kB / 0.74 GB, free: 27.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1728/0.1757, allocations: 95.37 MB / 0.8331 GB, free: 7.855 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater): time 0.002585/0.1783, allocations: 1.397 MB / 0.8345 GB, free: 6.445 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.004032/0.1823, allocations: 2.764 MB / 0.8372 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.672e-05/0.1824, allocations: 0 / 0.8372 GB, free: 3.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 8.253e-05/0.1824, allocations: 7.922 kB / 0.8372 GB, free: 3.656 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001278/0.1826, allocations: 43.75 kB / 0.8372 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006201/0.1832, allocations: 187.1 kB / 0.8374 GB, free: 3.43 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0002801/0.1835, allocations: 235.5 kB / 0.8376 GB, free: 3.199 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.873e-05/0.1835, allocations: 11.92 kB / 0.8376 GB, free: 3.188 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.1836, allocations: 99.8 kB / 0.8377 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001627/0.1838, allocations: 119.8 kB / 0.8379 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 3.349e-05/0.1838, allocations: 11.94 kB / 0.8379 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000383/0.1842, allocations: 151.8 kB / 0.838 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.1843, allocations: 79.84 kB / 0.8381 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001019/0.1844, allocations: 83.7 kB / 0.8382 GB, free: 2.652 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003963/0.1848, allocations: 275.1 kB / 0.8384 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.1848, allocations: 0 / 0.8384 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.727e-06/0.1848, allocations: 3.984 kB / 0.8384 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.3e-06/0.1848, allocations: 0 / 0.8384 GB, free: 2.379 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.000856/0.1857, allocations: 473.1 kB / 0.8389 GB, free: 1.887 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.1857, allocations: 9.938 kB / 0.8389 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000111/0.1858, allocations: 24.78 kB / 0.8389 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003019/0.1861, allocations: 182.3 kB / 0.8391 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.292e-05/0.1862, allocations: 24.36 kB / 0.8391 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.68e-05/0.1862, allocations: 16.38 kB / 0.8391 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006679/0.1869, allocations: 297.2 kB / 0.8394 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.1869, allocations: 0 / 0.8394 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.988e-05/0.1869, allocations: 4 kB / 0.8394 GB, free: 1.312 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.014e-05/0.1869, allocations: 7.984 kB / 0.8394 GB, free: 1.305 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00152/0.1885, allocations: 0.7217 MB / 0.8401 GB, free: 0.582 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003537/0.1888, allocations: 228.8 kB / 0.8403 GB, free: 336 kB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001712/0.1905, allocations: 0.637 MB / 0.841 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005392/0.1911, allocations: 217.3 kB / 0.8412 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002842/0.1913, allocations: 79.94 kB / 0.8413 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.1914, allocations: 34.56 kB / 0.8413 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=37): time 1.553e-06/0.1914, allocations: 0 / 0.8413 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37): time 0.001718/0.1931, allocations: 0.6573 MB / 0.8419 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.1931, allocations: 55.41 kB / 0.842 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.1933, allocations: 136.5 kB / 0.8421 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.972e-05/0.1933, allocations: 29.7 kB / 0.8421 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 6.34e-05/0.1934, allocations: 92.8 kB / 0.8422 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.1935, allocations: 130.9 kB / 0.8424 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001015/0.1936, allocations: 57.69 kB / 0.8424 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000164/0.1937, allocations: 334.8 kB / 0.8427 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005027/0.1942, allocations: 195.8 kB / 0.8429 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005002/0.1947, allocations: 200.7 kB / 0.8431 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009569/0.1957, allocations: 360.9 kB / 0.8434 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.1957, allocations: 4 kB / 0.8435 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001122/0.1968, allocations: 456.7 kB / 0.8439 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.1969, allocations: 11.94 kB / 0.8439 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.1969, allocations: 0 / 0.8439 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/0.1969, allocations: 0 / 0.8439 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003832/0.1973, allocations: 103.8 kB / 0.844 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.748e-06/0.1973, allocations: 4 kB / 0.844 GB, free: 12.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.1975, allocations: 47.75 kB / 0.844 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.901e-05/0.1975, allocations: 19.92 kB / 0.8441 GB, free: 12.43 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (37): * Single equations (assignments): 37 * 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.0001443/0.1976, allocations: 142.4 kB / 0.8442 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.649e-05/0.1977, allocations: 19.84 kB / 0.8442 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001271/0.199, allocations: 0.5208 MB / 0.8447 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/0.199, allocations: 8 kB / 0.8447 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.199, allocations: 0 / 0.8447 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.199, allocations: 0 / 0.8447 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003162/0.1993, allocations: 237.1 kB / 0.845 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1993, allocations: 0 / 0.845 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000353/0.1996, allocations: 95.86 kB / 0.8451 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.1996, allocations: 0 / 0.8451 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.874e-05/0.1997, allocations: 15.92 kB / 0.8451 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.1997, allocations: 0 / 0.8451 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.1997, allocations: 8 kB / 0.8451 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001151/0.2008, allocations: 0.4922 MB / 0.8456 GB, free: 10.85 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 3.286e-05/0.2009, allocations: 23.8 kB / 0.8456 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.682e-05/0.2009, allocations: 7.938 kB / 0.8456 GB, free: 10.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001808/0.2011, allocations: 39.95 kB / 0.8456 GB, free: 10.78 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002456/0.2013, allocations: 119.8 kB / 0.8457 GB, free: 10.66 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.527e-05/0.2013, allocations: 11.98 kB / 0.8458 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 7.762e-05/0.2014, allocations: 103.3 kB / 0.8459 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of sort global known variables: time 9e-08/0.2014, allocations: 0 / 0.8459 GB, free: 10.55 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0004132/0.2018, allocations: 119.7 kB / 0.846 GB, free: 10.43 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (37): * Single equations (assignments): 37 * 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.0003496/0.2022, allocations: 186.9 kB / 0.8461 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001142/0.2033, allocations: 459.6 kB / 0.8466 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.2033, allocations: 3.938 kB / 0.8466 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000569/0.2039, allocations: 247.4 kB / 0.8468 GB, free: 9.543 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004189/0.2043, allocations: 85.83 kB / 0.8469 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008105/0.2051, allocations: 442.8 kB / 0.8473 GB, free: 9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001216/0.2053, allocations: 118.5 kB / 0.8474 GB, free: 8.867 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0004077/0.2057, allocations: 184.6 kB / 0.8476 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.984e-05/0.2058, allocations: 39.41 kB / 0.8477 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of SimCode: time 3.21e-07/0.2058, allocations: 0 / 0.8477 GB, free: 8.672 MB / 0.5919 GB Notification: Performance of Templates: time 0.01163/0.2174, allocations: 5.712 MB / 0.8532 GB, free: 3.086 MB / 0.5919 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.sim & ./BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Antifreeze.Validation.EthyleneGlycolWater.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.4927060808986425] Failed to read output from testmodel.py, exit status != 0: 0.22501490637660027 0.24059924800000002 0.052688164 Calling exit ...