Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",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.001277/0.001277, allocations: 103 kB / 15.98 MB, free: 6.348 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.0009779/0.0009779, allocations: 200 kB / 16.91 MB, free: 6.199 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.249/1.249, allocations: 222.9 MB / 240.6 MB, free: 15.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6735/0.6735, allocations: 115.3 MB / 406.1 MB, free: 6.441 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 63.91 kB / 493.2 MB, free: 0.6602 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.283/0.2843, allocations: 76.16 MB / 0.556 GB, free: 36.16 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1411/0.4254, allocations: 145.8 MB / 0.6984 GB, free: 2.293 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0001317/0.4256, allocations: 51.86 kB / 0.6984 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.971e-05/0.4256, allocations: 0 / 0.6984 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 9.238e-05/0.4257, allocations: 0 / 0.6984 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 6.593e-05/0.4259, allocations: 15.92 kB / 0.6984 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004223/0.4263, allocations: 101.2 kB / 0.6985 GB, free: 2.129 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.345e-05/0.4264, allocations: 31.91 kB / 0.6985 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 2.976e-05/0.4264, allocations: 0 / 0.6985 GB, free: 2.098 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.243e-05/0.4264, allocations: 23.92 kB / 0.6986 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 6.079e-05/0.4265, allocations: 15.92 kB / 0.6986 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.054e-05/0.4265, allocations: 0 / 0.6986 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000237/0.4268, allocations: 79.78 kB / 0.6987 GB, free: 1.98 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.077e-05/0.4268, allocations: 11.98 kB / 0.6987 GB, free: 1.969 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.673e-05/0.4269, allocations: 11.92 kB / 0.6987 GB, free: 1.957 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.427, allocations: 78.05 kB / 0.6988 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.427, allocations: 0 / 0.6988 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.173e-06/0.427, allocations: 0 / 0.6988 GB, free: 1.883 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.427, allocations: 0 / 0.6988 GB, free: 1.883 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003522/0.4274, allocations: 340 kB / 0.6991 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.552e-05/0.4274, allocations: 12.03 kB / 0.6991 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.383e-05/0.4275, allocations: 34.75 kB / 0.6991 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002134/0.4277, allocations: 20.83 kB / 0.6991 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001012/0.4278, allocations: 164.1 kB / 0.6993 GB, free: 1.23 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.065e-05/0.4279, allocations: 29.7 kB / 0.6993 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.805e-06/0.4279, allocations: 0 / 0.6993 GB, free: 1.195 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001338/0.428, allocations: 49.67 kB / 0.6994 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.428, allocations: 0 / 0.6994 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/0.428, allocations: 4 kB / 0.6994 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.472e-05/0.4281, allocations: 0 / 0.6994 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.206e-05/0.4281, allocations: 23.92 kB / 0.6994 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003525/0.4285, allocations: 256.9 kB / 0.6997 GB, free: 0.8125 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 3.266e-05/0.4285, allocations: 14.58 kB / 0.6997 GB, free: 0.7891 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.808e-05/0.4286, allocations: 16.92 kB / 0.6997 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 4.859e-06/0.4286, allocations: 0 / 0.6997 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.016e-05/0.4286, allocations: 30.56 kB / 0.6997 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 2.415e-06/0.4286, allocations: 0 / 0.6997 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001143/0.4287, allocations: 41.62 kB / 0.6998 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.681e-05/0.4288, allocations: 55.34 kB / 0.6998 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.315e-05/0.4288, allocations: 101.9 kB / 0.6999 GB, free: 0.5078 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.523e-05/0.4289, allocations: 33.62 kB / 0.6999 GB, free: 480 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.87e-05/0.4289, allocations: 104 kB / 0.7 GB, free: 372 kB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.088e-06/0.4289, allocations: 0 / 0.7 GB, free: 372 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.096e-05/0.429, allocations: 13.72 kB / 0.7 GB, free: 352 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.4291, allocations: 318.8 kB / 0.7004 GB, free: 24 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.615e-05/0.4291, allocations: 3.984 kB / 0.7004 GB, free: 20 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.668e-05/0.4291, allocations: 26.56 kB / 0.7004 GB, free: 15.98 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.188e-05/0.4292, allocations: 34.77 kB / 0.7004 GB, free: 15.94 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.4292, allocations: 0 / 0.7004 GB, free: 15.94 MB / 0.545 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.805e-05/0.4293, allocations: 61.53 kB / 0.7005 GB, free: 15.88 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.4293, allocations: 4 kB / 0.7005 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.848e-06/0.4293, allocations: 0 / 0.7005 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.4293, allocations: 4 kB / 0.7005 GB, free: 15.87 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.981e-05/0.4294, allocations: 16.02 kB / 0.7005 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.4294, allocations: 7.938 kB / 0.7005 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.966e-05/0.4294, allocations: 4 kB / 0.7005 GB, free: 15.84 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.4295, allocations: 0 / 0.7005 GB, free: 15.84 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 4 * 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.549e-05/0.4295, allocations: 110.5 kB / 0.7006 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.536e-05/0.4296, allocations: 0 / 0.7006 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.221e-05/0.4296, allocations: 3.125 kB / 0.7006 GB, free: 15.72 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.4296, allocations: 7.938 kB / 0.7006 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.176e-06/0.4296, allocations: 0 / 0.7006 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.4296, allocations: 0 / 0.7006 GB, free: 15.71 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002436/0.4298, allocations: 350.8 kB / 0.701 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.4299, allocations: 0 / 0.701 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.566e-05/0.4299, allocations: 3.938 kB / 0.701 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.4299, allocations: 0 / 0.701 GB, free: 15.31 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.9e-06/0.4299, allocations: 3.938 kB / 0.701 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.4299, allocations: 4 kB / 0.701 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.4299, allocations: 0 / 0.701 GB, free: 15.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.969e-05/0.43, allocations: 61.06 kB / 0.701 GB, free: 15.22 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.216e-05/0.43, allocations: 89.05 kB / 0.7011 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.43, allocations: 0 / 0.7011 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.44e-05/0.4301, allocations: 0 / 0.7011 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.186e-05/0.4301, allocations: 7.984 kB / 0.7011 GB, free: 15.11 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.4302, allocations: 0 / 0.7011 GB, free: 15.11 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.852e-05/0.4302, allocations: 83.22 kB / 0.7012 GB, free: 15.03 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.4302, allocations: 0 / 0.7012 GB, free: 15.03 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0001932/0.4304, allocations: 12.03 kB / 0.7012 GB, free: 15.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 (1): * Single equations (assignments): 1 * 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.0002926/0.4307, allocations: 0.6007 MB / 0.7018 GB, free: 14.39 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 6.841e-05/0.4308, allocations: 8 kB / 0.7018 GB, free: 14.38 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.4308, allocations: 4.156 kB / 0.7018 GB, free: 14.38 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 6.402e-06/0.4308, allocations: 7.938 kB / 0.7018 GB, free: 14.37 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002218/0.431, allocations: 13.67 kB / 0.7018 GB, free: 14.36 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003237/0.4314, allocations: 148.2 kB / 0.702 GB, free: 14.17 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002192/0.4316, allocations: 0.6768 MB / 0.7026 GB, free: 13.47 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 5.497e-05/0.4317, allocations: 8.062 kB / 0.7026 GB, free: 13.46 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.586e-05/0.4317, allocations: 7.438 kB / 0.7026 GB, free: 13.45 MB / 0.545 GB Notification: Performance of SimCode: time 2.61e-07/0.4317, allocations: 0 / 0.7026 GB, free: 13.45 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01019/0.4419, allocations: 1.264 MB / 0.7039 GB, free: 12.39 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001899/0.4421, allocations: 236.8 kB / 0.7041 GB, free: 12.13 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.718/2.16, allocations: 2.375 kB / 0.7041 GB, free: 12.13 MB / 0.545 GB (rm -f IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > IBPSA_latest_IBPSA.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1)