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: "" <> buildModelFMU(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004543/0.004543, allocations: 100.6 kB / 15.73 MB, free: 6.008 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.001255/0.001255, allocations: 189.5 kB / 16.67 MB, free: 5.934 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.4/1.4, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00254/0.00254, allocations: 281.9 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.055/1.055, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002755/0.002755, allocations: 99.83 kB / 0.681 GB, free: 7.492 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4123/0.415, allocations: 86.97 MB / 0.7659 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion): time 0.007412/0.4225, allocations: 3.733 MB / 0.7695 GB, free: 136 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003258/0.4229, allocations: 155.6 kB / 0.7697 GB, free: 15.98 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.547e-05/0.4229, allocations: 4 kB / 0.7697 GB, free: 15.97 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0001151/0.423, allocations: 7.828 kB / 0.7697 GB, free: 15.97 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.978e-05/0.4231, allocations: 11.86 kB / 0.7697 GB, free: 15.96 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004471/0.4236, allocations: 79.75 kB / 0.7698 GB, free: 15.88 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001178/0.4237, allocations: 35.86 kB / 0.7698 GB, free: 15.84 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 6.306e-05/0.4238, allocations: 3.984 kB / 0.7698 GB, free: 15.84 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.516e-05/0.4239, allocations: 11.98 kB / 0.7698 GB, free: 15.83 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 9.577e-05/0.424, allocations: 15.98 kB / 0.7698 GB, free: 15.81 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.216e-05/0.424, allocations: 3.938 kB / 0.7698 GB, free: 15.81 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007422/0.4247, allocations: 183.4 kB / 0.77 GB, free: 15.63 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.82e-05/0.4248, allocations: 7.984 kB / 0.77 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.19e-05/0.4248, allocations: 8 kB / 0.77 GB, free: 15.61 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.425, allocations: 47.69 kB / 0.7701 GB, free: 15.57 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4251, allocations: 4 kB / 0.7701 GB, free: 15.57 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.502e-06/0.4251, allocations: 0 / 0.7701 GB, free: 15.57 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.492e-06/0.4251, allocations: 0 / 0.7701 GB, free: 15.57 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.000549/0.4256, allocations: 336.7 kB / 0.7704 GB, free: 15.2 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.191e-05/0.4257, allocations: 8.031 kB / 0.7704 GB, free: 15.19 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.999e-05/0.4258, allocations: 38.69 kB / 0.7704 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.178e-05/0.4258, allocations: 4.922 kB / 0.7705 GB, free: 15.14 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001763/0.426, allocations: 160.4 kB / 0.7706 GB, free: 14.94 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.446e-05/0.4261, allocations: 34.27 kB / 0.7706 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.161e-05/0.4261, allocations: 4.125 kB / 0.7706 GB, free: 14.9 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001662/0.4263, allocations: 41.69 kB / 0.7707 GB, free: 14.85 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.4263, allocations: 0 / 0.7707 GB, free: 14.85 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.4263, allocations: 3.984 kB / 0.7707 GB, free: 14.85 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.925e-05/0.4264, allocations: 4 kB / 0.7707 GB, free: 14.84 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.157e-05/0.4264, allocations: 15.92 kB / 0.7707 GB, free: 14.83 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006036/0.427, allocations: 334 kB / 0.771 GB, free: 14.43 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 5.18e-05/0.4271, allocations: 26.52 kB / 0.771 GB, free: 14.4 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.335e-05/0.4272, allocations: 8.922 kB / 0.7711 GB, free: 14.39 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001267/0.4273, allocations: 85.09 kB / 0.7711 GB, free: 14.29 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.748e-05/0.4273, allocations: 30.56 kB / 0.7712 GB, free: 14.25 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 1.533e-06/0.4273, allocations: 0 / 0.7712 GB, free: 14.25 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001988/0.4276, allocations: 41.59 kB / 0.7712 GB, free: 14.2 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.477e-05/0.4276, allocations: 55.53 kB / 0.7713 GB, free: 14.13 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001199/0.4278, allocations: 113.7 kB / 0.7714 GB, free: 14.01 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.59e-05/0.4278, allocations: 25.7 kB / 0.7714 GB, free: 13.98 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.882e-05/0.4279, allocations: 88.09 kB / 0.7715 GB, free: 13.89 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.35e-06/0.4279, allocations: 0 / 0.7715 GB, free: 13.89 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.071e-05/0.4279, allocations: 17.7 kB / 0.7715 GB, free: 13.87 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001782/0.4281, allocations: 314.8 kB / 0.7718 GB, free: 13.55 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.572e-05/0.4282, allocations: 8 kB / 0.7718 GB, free: 13.54 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.582e-05/0.4282, allocations: 17.72 kB / 0.7718 GB, free: 13.52 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.817e-05/0.4283, allocations: 29.64 kB / 0.7718 GB, free: 13.48 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.4283, allocations: 0 / 0.7718 GB, free: 13.48 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001376/0.4284, allocations: 45.69 kB / 0.7719 GB, free: 13.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.4285, allocations: 4 kB / 0.7719 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.4285, allocations: 0 / 0.7719 GB, free: 13.43 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.4285, allocations: 8.062 kB / 0.7719 GB, free: 13.42 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.997e-05/0.4286, allocations: 7.938 kB / 0.7719 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.4286, allocations: 0 / 0.7719 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.54e-05/0.4286, allocations: 3.953 kB / 0.7719 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.325e-05/0.4287, allocations: 4 kB / 0.7719 GB, free: 13.41 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 0.000113/0.4288, allocations: 112.2 kB / 0.772 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.897e-05/0.4288, allocations: 4 kB / 0.772 GB, free: 13.29 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001668/0.429, allocations: 120.2 kB / 0.7721 GB, free: 13.16 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001106/0.4291, allocations: 192.2 kB / 0.7723 GB, free: 12.97 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001039/0.4293, allocations: 176.3 kB / 0.7725 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001086/0.4294, allocations: 188.5 kB / 0.7727 GB, free: 12.6 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004014/0.4298, allocations: 413.2 kB / 0.7731 GB, free: 12.14 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.27e-05/0.4299, allocations: 101 kB / 0.7732 GB, free: 12.03 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.413e-05/0.4299, allocations: 108.9 kB / 0.7733 GB, free: 11.92 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001139/0.4301, allocations: 184.2 kB / 0.7734 GB, free: 11.73 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001068/0.4302, allocations: 180.2 kB / 0.7736 GB, free: 11.55 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001109/0.4303, allocations: 180.3 kB / 0.7738 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001164/0.4304, allocations: 180.2 kB / 0.774 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002267/0.4307, allocations: 311.7 kB / 0.7743 GB, free: 10.85 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001297/0.4308, allocations: 186 kB / 0.7744 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001312/0.4309, allocations: 180.2 kB / 0.7746 GB, free: 10.46 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002503/0.4312, allocations: 105 kB / 0.7747 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001124/0.4313, allocations: 184.1 kB / 0.7749 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.2e-05/0.4314, allocations: 108.9 kB / 0.775 GB, free: 10.05 MB / 0.545 GB Notification: Performance of sorting global known variables: time 7.833e-05/0.4315, allocations: 91.27 kB / 0.7751 GB, free: 9.961 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.1e-07/0.4315, allocations: 0 / 0.7751 GB, free: 9.961 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0005255/0.432, allocations: 19.88 kB / 0.7751 GB, free: 9.941 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.0006911/0.4327, allocations: 0.832 MB / 0.7759 GB, free: 9.082 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 7.977e-05/0.4328, allocations: 15.98 kB / 0.7759 GB, free: 9.066 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4328, allocations: 0 / 0.7759 GB, free: 9.066 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 3.696e-06/0.4329, allocations: 3.938 kB / 0.7759 GB, free: 9.062 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005217/0.4334, allocations: 468.5 kB / 0.7764 GB, free: 8.605 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001161/0.4346, allocations: 1.32 MB / 0.7777 GB, free: 7.195 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003088/0.4349, allocations: 0.6729 MB / 0.7783 GB, free: 6.496 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.997e-05/0.4349, allocations: 8 kB / 0.7783 GB, free: 6.488 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.297e-05/0.4349, allocations: 15.42 kB / 0.7783 GB, free: 6.473 MB / 0.545 GB Notification: Performance of SimCode: time 2.4e-07/0.435, allocations: 0 / 0.7783 GB, free: 6.473 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02261/0.4576, allocations: 1.539 MB / 0.7798 GB, free: 5.098 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.029/8.487, allocations: 4.438 kB / 0.7798 GB, free: 5.094 MB / 0.545 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Examples_PropyleneGlycolWaterTemperatureEnthalpyInversion.fmu > BuildingSystems_BuildingSystems.Media.Examples.PropyleneGlycolWaterTemperatureEnthalpyInversion.pipe 2>&1)