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.001201/0.001201, allocations: 107.7 kB / 16.41 MB, free: 6.484 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.001167/0.001167, allocations: 187 kB / 17.34 MB, free: 5.734 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.233/1.233, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002063/0.002063, allocations: 282.5 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9011/0.9011, allocations: 169.3 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001726/0.001726, allocations: 99.84 kB / 0.6821 GB, free: 7.004 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3998/0.4016, allocations: 86.97 MB / 0.767 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.004873/0.4065, allocations: 3.718 MB / 0.7707 GB, free: 212 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001887/0.4067, allocations: 155.5 kB / 0.7708 GB, free: 56 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.967e-05/0.4068, allocations: 7.938 kB / 0.7708 GB, free: 48 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.283e-05/0.4068, allocations: 0 / 0.7708 GB, free: 48 kB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.781e-05/0.4069, allocations: 11.92 kB / 0.7708 GB, free: 36 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000327/0.4073, allocations: 83.19 kB / 0.7709 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 9.108e-05/0.4074, allocations: 43.78 kB / 0.7709 GB, free: 15.91 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.623e-05/0.4074, allocations: 0 / 0.7709 GB, free: 15.91 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.53e-05/0.4075, allocations: 15.98 kB / 0.771 GB, free: 15.9 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.699e-05/0.4075, allocations: 15.92 kB / 0.771 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.4075, allocations: 0 / 0.771 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004797/0.408, allocations: 187.4 kB / 0.7712 GB, free: 15.7 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.957e-05/0.4081, allocations: 11.92 kB / 0.7712 GB, free: 15.69 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.781e-05/0.4081, allocations: 4 kB / 0.7712 GB, free: 15.68 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.4083, allocations: 51.55 kB / 0.7712 GB, free: 15.64 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.4083, allocations: 0 / 0.7712 GB, free: 15.64 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.694e-06/0.4083, allocations: 3.938 kB / 0.7712 GB, free: 15.63 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.189e-06/0.4083, allocations: 0 / 0.7712 GB, free: 15.63 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.0003977/0.4087, allocations: 342 kB / 0.7715 GB, free: 15.25 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.4087, allocations: 12.03 kB / 0.7716 GB, free: 15.24 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.78e-05/0.4088, allocations: 0.9375 kB / 0.7716 GB, free: 15.24 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001081/0.4089, allocations: 160.4 kB / 0.7717 GB, free: 15.05 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.805e-05/0.409, allocations: 30.27 kB / 0.7717 GB, free: 15.01 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.224e-05/0.409, allocations: 4.375 kB / 0.7717 GB, free: 15.01 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001256/0.4091, allocations: 41.62 kB / 0.7718 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.4091, allocations: 3.938 kB / 0.7718 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.4091, allocations: 0 / 0.7718 GB, free: 14.96 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.9e-05/0.4092, allocations: 11.98 kB / 0.7718 GB, free: 14.95 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.168e-05/0.4092, allocations: 15.98 kB / 0.7718 GB, free: 14.93 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004202/0.4096, allocations: 334 kB / 0.7721 GB, free: 14.54 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.136e-05/0.4097, allocations: 14.58 kB / 0.7722 GB, free: 14.51 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.607e-05/0.4097, allocations: 8.922 kB / 0.7722 GB, free: 14.5 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 8.114e-05/0.4098, allocations: 85.09 kB / 0.7722 GB, free: 14.4 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.4098, allocations: 38.5 kB / 0.7723 GB, free: 14.35 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.212e-06/0.4098, allocations: 0 / 0.7723 GB, free: 14.35 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001333/0.41, allocations: 41.61 kB / 0.7723 GB, free: 14.3 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.584e-05/0.41, allocations: 51.41 kB / 0.7724 GB, free: 14.24 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.143e-05/0.4101, allocations: 105.8 kB / 0.7725 GB, free: 14.13 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.331e-05/0.4101, allocations: 25.7 kB / 0.7725 GB, free: 14.1 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.924e-05/0.4102, allocations: 91.97 kB / 0.7726 GB, free: 14 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 6.211e-06/0.4102, allocations: 4.125 kB / 0.7726 GB, free: 14 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.4102, allocations: 21.64 kB / 0.7726 GB, free: 13.97 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001059/0.4103, allocations: 318.8 kB / 0.7729 GB, free: 13.65 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.423e-05/0.4103, allocations: 4 kB / 0.7729 GB, free: 13.65 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.414e-05/0.4104, allocations: 21.64 kB / 0.7729 GB, free: 13.62 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.406e-05/0.4104, allocations: 25.72 kB / 0.773 GB, free: 13.59 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.4104, allocations: 4 kB / 0.773 GB, free: 13.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.695e-05/0.4105, allocations: 49.62 kB / 0.773 GB, free: 13.53 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.4105, allocations: 4 kB / 0.773 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.4105, allocations: 0 / 0.773 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.15e-05/0.4105, allocations: 4 kB / 0.773 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.152e-05/0.4106, allocations: 4 kB / 0.773 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.609e-06/0.4106, allocations: 0 / 0.773 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.622e-05/0.4106, allocations: 0 / 0.773 GB, free: 13.52 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.478e-06/0.4106, allocations: 4 kB / 0.773 GB, free: 13.52 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.851e-05/0.4107, allocations: 116.2 kB / 0.7731 GB, free: 13.39 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.861e-05/0.4107, allocations: 11.89 kB / 0.7731 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001014/0.4108, allocations: 116.9 kB / 0.7733 GB, free: 13.26 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.416e-05/0.4109, allocations: 188.2 kB / 0.7734 GB, free: 13.07 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.315e-05/0.411, allocations: 184.2 kB / 0.7736 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.112e-05/0.411, allocations: 184.3 kB / 0.7738 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/0.4113, allocations: 409.2 kB / 0.7742 GB, free: 12.24 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.993e-05/0.4113, allocations: 104.9 kB / 0.7743 GB, free: 12.13 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.457e-05/0.4113, allocations: 101 kB / 0.7744 GB, free: 12.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.534e-05/0.4114, allocations: 188.2 kB / 0.7746 GB, free: 11.83 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.976e-05/0.4114, allocations: 176.3 kB / 0.7747 GB, free: 11.65 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.849e-05/0.4115, allocations: 184.2 kB / 0.7749 GB, free: 11.46 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-05/0.4116, allocations: 180.2 kB / 0.7751 GB, free: 11.28 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001201/0.4117, allocations: 307.7 kB / 0.7754 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.991e-05/0.4118, allocations: 186.1 kB / 0.7755 GB, free: 10.75 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.126e-05/0.4119, allocations: 180.3 kB / 0.7757 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000143/0.412, allocations: 108.9 kB / 0.7758 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.182e-05/0.4121, allocations: 176.3 kB / 0.776 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-05/0.4121, allocations: 112.9 kB / 0.7761 GB, free: 10.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.978e-05/0.4122, allocations: 83.28 kB / 0.7762 GB, free: 10.07 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.4122, allocations: 0 / 0.7762 GB, free: 10.07 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002228/0.4124, allocations: 12 kB / 0.7762 GB, free: 10.06 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.0002318/0.4126, allocations: 210.3 kB / 0.7764 GB, free: 9.848 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.309e-05/0.4127, allocations: 12 kB / 0.7764 GB, free: 9.836 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.4127, allocations: 0 / 0.7764 GB, free: 9.836 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 1.062e-06/0.4127, allocations: 0 / 0.7764 GB, free: 9.836 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003639/0.4131, allocations: 472.7 kB / 0.7768 GB, free: 9.371 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002297/0.4133, allocations: 215.5 kB / 0.7771 GB, free: 9.125 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/0.4136, allocations: 0.6768 MB / 0.7777 GB, free: 8.422 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.035e-05/0.4136, allocations: 7.438 kB / 0.7777 GB, free: 8.414 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.4136, allocations: 0 / 0.7777 GB, free: 8.414 MB / 0.545 GB Notification: Performance of Templates: time 0.001849/0.4154, allocations: 0.7528 MB / 0.7785 GB, free: 7.668 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)