Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") translateModel(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001246/0.001246, allocations: 110 kB / 16.41 MB, free: 6.5 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001314/0.001314, allocations: 185.6 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002052/0.002052, allocations: 290.7 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9304/0.9304, allocations: 169.2 MB / 0.499 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001635/0.001635, allocations: 91.86 kB / 0.6821 GB, free: 6.996 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3878, allocations: 86.97 MB / 0.767 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.005093/0.3929, allocations: 3.728 MB / 0.7707 GB, free: 164 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001821/0.3931, allocations: 151.5 kB / 0.7708 GB, free: 12 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.997e-05/0.3931, allocations: 0 / 0.7708 GB, free: 12 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.412e-05/0.3932, allocations: 7.938 kB / 0.7708 GB, free: 4 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.362e-05/0.3934, allocations: 15.91 kB / 0.7708 GB, free: 15.99 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003289/0.3937, allocations: 79.75 kB / 0.7709 GB, free: 15.91 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 8.212e-05/0.3938, allocations: 35.8 kB / 0.7709 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.337e-05/0.3938, allocations: 3.984 kB / 0.7709 GB, free: 15.87 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 4.143e-05/0.3939, allocations: 15.98 kB / 0.771 GB, free: 15.86 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.487e-05/0.394, allocations: 11.98 kB / 0.771 GB, free: 15.84 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.394, allocations: 0 / 0.771 GB, free: 15.84 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000501/0.3945, allocations: 191.4 kB / 0.7712 GB, free: 15.66 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.715e-05/0.3945, allocations: 7.922 kB / 0.7712 GB, free: 15.65 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.301e-05/0.3946, allocations: 4 kB / 0.7712 GB, free: 15.64 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001284/0.3947, allocations: 51.55 kB / 0.7712 GB, free: 15.6 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.3947, allocations: 0 / 0.7712 GB, free: 15.6 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3947, allocations: 0 / 0.7712 GB, free: 15.6 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.3947, allocations: 0 / 0.7712 GB, free: 15.6 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003439/0.3951, allocations: 342 kB / 0.7715 GB, free: 15.22 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.3951, allocations: 15.97 kB / 0.7716 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.682e-05/0.3952, allocations: 0.9375 kB / 0.7716 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.949e-05/0.3953, allocations: 160.4 kB / 0.7717 GB, free: 15.01 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.194e-05/0.3953, allocations: 30.27 kB / 0.7717 GB, free: 14.97 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.953e-06/0.3953, allocations: 384 / 0.7717 GB, free: 14.97 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001081/0.3954, allocations: 49.61 kB / 0.7718 GB, free: 14.92 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-06/0.3955, allocations: 0 / 0.7718 GB, free: 14.92 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.769e-06/0.3955, allocations: 4 kB / 0.7718 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.468e-05/0.3955, allocations: 4 kB / 0.7718 GB, free: 14.91 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.9e-05/0.3955, allocations: 15.98 kB / 0.7718 GB, free: 14.89 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003817/0.3959, allocations: 342 kB / 0.7721 GB, free: 14.49 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 3.234e-05/0.396, allocations: 18.52 kB / 0.7722 GB, free: 14.46 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.285e-05/0.396, allocations: 8.922 kB / 0.7722 GB, free: 14.45 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.787e-05/0.3961, allocations: 85.09 kB / 0.7722 GB, free: 14.35 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.289e-05/0.3961, allocations: 34.56 kB / 0.7723 GB, free: 14.31 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.3961, allocations: 0 / 0.7723 GB, free: 14.31 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001275/0.3962, allocations: 45.55 kB / 0.7723 GB, free: 14.26 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.969e-05/0.3963, allocations: 51.41 kB / 0.7724 GB, free: 14.2 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.921e-05/0.3964, allocations: 101.8 kB / 0.7725 GB, free: 14.09 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.3964, allocations: 29.7 kB / 0.7725 GB, free: 14.05 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 3.878e-05/0.3964, allocations: 87.98 kB / 0.7726 GB, free: 13.96 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 4.88e-06/0.3964, allocations: 8.062 kB / 0.7726 GB, free: 13.95 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.217e-05/0.3965, allocations: 17.7 kB / 0.7726 GB, free: 13.93 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 8.954e-05/0.3966, allocations: 318.8 kB / 0.7729 GB, free: 13.61 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.263e-05/0.3966, allocations: 4 kB / 0.7729 GB, free: 13.61 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.072e-05/0.3966, allocations: 17.7 kB / 0.7729 GB, free: 13.58 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.201e-05/0.3966, allocations: 25.66 kB / 0.7729 GB, free: 13.55 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3967, allocations: 4 kB / 0.773 GB, free: 13.55 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.66e-05/0.3967, allocations: 45.69 kB / 0.773 GB, free: 13.5 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.3967, allocations: 4 kB / 0.773 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.3968, allocations: 4 kB / 0.773 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.3968, allocations: 0 / 0.773 GB, free: 13.49 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.004e-05/0.3968, allocations: 7.938 kB / 0.773 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.3968, allocations: 0 / 0.773 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.746e-05/0.3968, allocations: 0 / 0.773 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.287e-06/0.3969, allocations: 4 kB / 0.773 GB, free: 13.48 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (3): * Single equations (assignments): 3 * 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 6.581e-05/0.3969, allocations: 120.2 kB / 0.7731 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.397, allocations: 7.906 kB / 0.7731 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.019e-05/0.3971, allocations: 119.2 kB / 0.7733 GB, free: 13.22 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.05e-05/0.3971, allocations: 184.2 kB / 0.7734 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.327e-05/0.3972, allocations: 180.2 kB / 0.7736 GB, free: 12.85 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-05/0.3972, allocations: 188.2 kB / 0.7738 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.3974, allocations: 409.2 kB / 0.7742 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.584e-05/0.3975, allocations: 101 kB / 0.7743 GB, free: 12.1 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.023e-05/0.3975, allocations: 104.9 kB / 0.7744 GB, free: 11.99 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.435e-05/0.3975, allocations: 180.5 kB / 0.7745 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.997e-05/0.3976, allocations: 184.2 kB / 0.7747 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.324e-05/0.3977, allocations: 184.2 kB / 0.7749 GB, free: 11.43 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.647e-05/0.3977, allocations: 176.3 kB / 0.7751 GB, free: 11.25 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001069/0.3978, allocations: 315.7 kB / 0.7754 GB, free: 10.92 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.875e-05/0.3979, allocations: 186 kB / 0.7755 GB, free: 10.71 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.265e-05/0.398, allocations: 180.3 kB / 0.7757 GB, free: 10.53 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001368/0.3981, allocations: 105 kB / 0.7758 GB, free: 10.42 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.306e-05/0.3982, allocations: 184.1 kB / 0.776 GB, free: 10.23 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/0.3982, allocations: 109 kB / 0.7761 GB, free: 10.12 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.978e-05/0.3982, allocations: 87.28 kB / 0.7762 GB, free: 10.03 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.924e-06/0.3983, allocations: 0 / 0.7762 GB, free: 10.03 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002251/0.3985, allocations: 15.94 kB / 0.7762 GB, free: 10.02 MB / 0.545 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 (0): * Single equations (assignments): 0 * 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.0002402/0.3987, allocations: 206.4 kB / 0.7764 GB, free: 9.805 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.359e-05/0.3988, allocations: 15.94 kB / 0.7764 GB, free: 9.789 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.764e-06/0.3988, allocations: 0 / 0.7764 GB, free: 9.789 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.3988, allocations: 0 / 0.7764 GB, free: 9.789 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.3992, allocations: 467.3 kB / 0.7768 GB, free: 9.332 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002192/0.3994, allocations: 223.4 kB / 0.7771 GB, free: 9.078 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001881/0.3996, allocations: 0.6729 MB / 0.7777 GB, free: 8.379 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.144e-05/0.3996, allocations: 7.438 kB / 0.7777 GB, free: 8.371 MB / 0.545 GB Notification: Performance of SimCode: time 2.1e-07/0.3996, allocations: 0 / 0.7777 GB, free: 8.371 MB / 0.545 GB Notification: Performance of Templates: time 0.001798/0.4014, allocations: 0.7536 MB / 0.7785 GB, free: 7.629 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.sim & ./BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)