Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.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.000928/0.000928, allocations: 87.58 kB / 20.45 MB, free: 4.121 MB / 18.57 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.0009732/0.0009732, allocations: 161.4 kB / 23.82 MB, free: 0.7539 MB / 18.57 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 0.9594/0.9594, allocations: 177.1 MB / 204.2 MB, free: 5.609 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.962/1.962, allocations: 377.8 MB / 0.6236 GB, free: 8.562 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/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(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|p|X.[0-9,]+.|d|eta|h|u|s|g|f|hIse|beta|kappa|ddpT|ddTp|dddX.[0-9,]+.|cp|cv|lambda|pMed|TMed|MM",fileNamePrefix="Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 0.8116 GB, free: 1.68 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.557e-05, allocations: 3.156 kB / 0.8116 GB, free: 1.676 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.0122/0.01222, allocations: 13.03 MB / 0.8243 GB, free: 4.656 MB / 0.7761 GB Notification: Performance of NFInst.instExpressions: time 0.002249/0.01447, allocations: 2.796 MB / 0.827 GB, free: 1.852 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.241e-05/0.01456, allocations: 0 / 0.827 GB, free: 1.852 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.000294/0.01486, allocations: 47.62 kB / 0.8271 GB, free: 1.805 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002488/0.01511, allocations: 99.28 kB / 0.8272 GB, free: 1.707 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009412/0.01605, allocations: 0.5364 MB / 0.8277 GB, free: 1.168 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002274/0.01628, allocations: 235.8 kB / 0.8279 GB, free: 0.9375 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.881e-05/0.01631, allocations: 9.812 kB / 0.8279 GB, free: 0.9297 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006262/0.02258, allocations: 3.638 MB / 0.8315 GB, free: 13.26 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001966/0.02277, allocations: 83.77 kB / 0.8316 GB, free: 13.18 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 3.036e-05/0.0228, allocations: 8 kB / 0.8316 GB, free: 13.17 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002051/0.02485, allocations: 1.038 MB / 0.8326 GB, free: 12.13 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 8.477e-05/0.02494, allocations: 43.83 kB / 0.8326 GB, free: 12.09 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 9.071e-05/0.02503, allocations: 59.89 kB / 0.8327 GB, free: 12.03 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0006762/0.02571, allocations: 366.8 kB / 0.833 GB, free: 11.67 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.02571, allocations: 0 / 0.833 GB, free: 11.67 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.413e-06/0.02571, allocations: 0 / 0.833 GB, free: 11.67 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 5.581e-06/0.02572, allocations: 0 / 0.833 GB, free: 11.67 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0006391/0.02636, allocations: 0.5307 MB / 0.8336 GB, free: 11.1 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.02639, allocations: 12.03 kB / 0.8336 GB, free: 11.09 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001682/0.02656, allocations: 52.64 kB / 0.8336 GB, free: 11.04 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001883/0.02675, allocations: 160.4 kB / 0.8338 GB, free: 10.86 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.02677, allocations: 16.64 kB / 0.8338 GB, free: 10.84 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.491e-05/0.02679, allocations: 20.38 kB / 0.8338 GB, free: 10.82 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004669/0.02726, allocations: 438.1 kB / 0.8342 GB, free: 10.31 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.562e-06/0.02726, allocations: 192 / 0.8342 GB, free: 10.31 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.02728, allocations: 12.12 kB / 0.8342 GB, free: 10.3 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.184e-05/0.0273, allocations: 7.938 kB / 0.8342 GB, free: 10.29 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002492/0.02755, allocations: 304 kB / 0.8345 GB, free: 9.996 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007284/0.02828, allocations: 0.9988 MB / 0.8355 GB, free: 8.941 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002021/0.02848, allocations: 132 kB / 0.8356 GB, free: 8.801 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.875e-05/0.02854, allocations: 43.72 kB / 0.8357 GB, free: 8.754 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004782/0.02902, allocations: 0.5387 MB / 0.8362 GB, free: 8.195 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.02905, allocations: 49.33 kB / 0.8363 GB, free: 8.137 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=15): time 8.41e-07/0.02905, allocations: 0 / 0.8363 GB, free: 8.137 MB / 0.7917 GB Notification: Performance of matching and sorting (n=15): time 0.0002262/0.02927, allocations: 125.5 kB / 0.8364 GB, free: 8.008 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.686e-05/0.0293, allocations: 55.41 kB / 0.8364 GB, free: 7.941 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001153/0.02941, allocations: 216.8 kB / 0.8366 GB, free: 7.715 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.02943, allocations: 25.7 kB / 0.8367 GB, free: 7.684 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 7.303e-05/0.0295, allocations: 202.8 kB / 0.8369 GB, free: 7.477 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 2.839e-05/0.02953, allocations: 51.53 kB / 0.8369 GB, free: 7.426 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.135e-05/0.02958, allocations: 63.31 kB / 0.837 GB, free: 7.355 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001221/0.0297, allocations: 0.4961 MB / 0.8374 GB, free: 6.848 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.8e-05/0.02974, allocations: 23.98 kB / 0.8375 GB, free: 6.824 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.02985, allocations: 186.9 kB / 0.8376 GB, free: 6.574 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.03002, allocations: 236.4 kB / 0.8379 GB, free: 6.277 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.03002, allocations: 0 / 0.8379 GB, free: 6.277 MB / 0.7917 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002095/0.03023, allocations: 204.4 kB / 0.8381 GB, free: 6.074 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.03025, allocations: 10.81 kB / 0.8381 GB, free: 6.066 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.224e-06/0.03025, allocations: 7.984 kB / 0.8381 GB, free: 6.059 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.03027, allocations: 4 kB / 0.8381 GB, free: 6.055 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.03038, allocations: 59.92 kB / 0.8381 GB, free: 5.996 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/0.03039, allocations: 11.92 kB / 0.8382 GB, free: 5.984 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.385e-05/0.03045, allocations: 31.78 kB / 0.8382 GB, free: 5.953 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.03047, allocations: 12 kB / 0.8382 GB, free: 5.941 MB / 0.7917 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.757e-05/0.03056, allocations: 172.5 kB / 0.8384 GB, free: 5.762 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.444e-05/0.03059, allocations: 28.03 kB / 0.8384 GB, free: 5.734 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002076/0.0308, allocations: 146.1 kB / 0.8385 GB, free: 5.586 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/0.0308, allocations: 0 / 0.8385 GB, free: 5.586 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.126e-06/0.03081, allocations: 0 / 0.8385 GB, free: 5.586 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.03081, allocations: 3.984 kB / 0.8385 GB, free: 5.582 MB / 0.7917 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001422/0.03095, allocations: 168.4 kB / 0.8387 GB, free: 5.383 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.03095, allocations: 3.938 kB / 0.8387 GB, free: 5.379 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.965e-05/0.03101, allocations: 31.92 kB / 0.8387 GB, free: 5.348 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.03102, allocations: 0 / 0.8387 GB, free: 5.348 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.995e-06/0.03102, allocations: 7.984 kB / 0.8387 GB, free: 5.34 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.03103, allocations: 8 kB / 0.8387 GB, free: 5.332 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-07/0.03103, allocations: 0 / 0.8387 GB, free: 5.332 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001694/0.0312, allocations: 259.7 kB / 0.839 GB, free: 5.059 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 4.372e-05/0.03124, allocations: 39.86 kB / 0.839 GB, free: 5.02 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.03125, allocations: 0 / 0.839 GB, free: 5.02 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.152e-05/0.03133, allocations: 8 kB / 0.839 GB, free: 5.012 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.893e-05/0.03135, allocations: 15.97 kB / 0.8391 GB, free: 4.996 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.03137, allocations: 8 kB / 0.8391 GB, free: 4.988 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 5.31e-05/0.03142, allocations: 151.2 kB / 0.8392 GB, free: 4.84 MB / 0.7917 GB Notification: Performance of sort global known variables: time 5e-08/0.03142, allocations: 0 / 0.8392 GB, free: 4.84 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.0002695/0.03169, allocations: 83.77 kB / 0.8393 GB, free: 4.758 MB / 0.7917 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0002315/0.03192, allocations: 191 kB / 0.8395 GB, free: 4.559 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.0001584/0.03208, allocations: 114.2 kB / 0.8396 GB, free: 4.445 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.03208, allocations: 4 kB / 0.8396 GB, free: 4.441 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 4.507e-05/0.03213, allocations: 55.53 kB / 0.8396 GB, free: 4.383 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.03236, allocations: 39.91 kB / 0.8397 GB, free: 4.344 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006944/0.03306, allocations: 327.8 kB / 0.84 GB, free: 3.996 MB / 0.7917 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.755e-05/0.0331, allocations: 68 kB / 0.84 GB, free: 3.91 MB / 0.7917 GB Notification: Performance of simCode: alias equations: time 9.907e-05/0.0332, allocations: 41.28 kB / 0.8401 GB, free: 3.871 MB / 0.7917 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.273e-05/0.03323, allocations: 28.48 kB / 0.8401 GB, free: 3.844 MB / 0.7917 GB Notification: Performance of SimCode: time 8.11e-07/0.03323, allocations: 7.938 kB / 0.8401 GB, free: 3.836 MB / 0.7917 GB Notification: Performance of Templates: time 0.004901/0.03813, allocations: 3.385 MB / 0.8434 GB, free: 0.5273 MB / 0.7917 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.34076381707564]