Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.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(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="Buildings_latest_Buildings_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.0008938/0.0008938, allocations: 86.33 kB / 15.06 MB, free: 1.09 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.00107/0.00107, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 223.3 MB / 240 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.485/2.485, allocations: 409.4 MB / 0.684 GB, free: 0.957 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003471/0.0003472, allocations: 8 kB / 0.8378 GB, free: 6.531 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8394/0.8398, allocations: 146.8 MB / 0.9811 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.156/0.9958, allocations: 134 MB / 1.112 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.0001261/0.996, allocations: 51.89 kB / 1.112 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.318e-05/0.996, allocations: 4 kB / 1.112 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.0001201/0.9961, allocations: 7.922 kB / 1.112 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 6.91e-05/0.9962, allocations: 0 / 1.112 GB, free: 15.79 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003968/0.9966, allocations: 91.67 kB / 1.112 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 8.947e-05/0.9967, allocations: 39.89 kB / 1.112 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 4.459e-05/0.9968, allocations: 7.938 kB / 1.112 GB, free: 15.65 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 4.305e-05/0.9968, allocations: 19.97 kB / 1.112 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 7.249e-05/0.9969, allocations: 11.94 kB / 1.112 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.9969, allocations: 0 / 1.112 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002011/0.9971, allocations: 55.77 kB / 1.112 GB, free: 15.57 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 3.478e-05/0.9972, allocations: 3.984 kB / 1.112 GB, free: 15.56 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 2.587e-05/0.9972, allocations: 29.7 kB / 1.112 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 9.716e-05/0.9973, allocations: 34.22 kB / 1.112 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.9973, allocations: 4 kB / 1.112 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.644e-06/0.9973, allocations: 0 / 1.112 GB, free: 15.49 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 3.777e-06/0.9973, allocations: 4 kB / 1.112 GB, free: 15.49 MB / 0.8731 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.0003682/0.9977, allocations: 327.3 kB / 1.113 GB, free: 15.12 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/0.9978, allocations: 12.03 kB / 1.113 GB, free: 15.11 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.118e-05/0.9978, allocations: 30.56 kB / 1.113 GB, free: 15.07 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002288/0.998, allocations: 23.97 kB / 1.113 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.9982, allocations: 159.1 kB / 1.113 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.537e-05/0.9982, allocations: 37.66 kB / 1.113 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.406e-06/0.9983, allocations: 0 / 1.113 GB, free: 14.81 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001365/0.9984, allocations: 53.61 kB / 1.113 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.9984, allocations: 3.984 kB / 1.113 GB, free: 14.75 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.201e-05/0.9984, allocations: 3.984 kB / 1.113 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.978e-05/0.9985, allocations: 0 / 1.113 GB, free: 14.74 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.517e-05/0.9985, allocations: 19.98 kB / 1.113 GB, free: 14.72 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003777/0.9989, allocations: 260.8 kB / 1.113 GB, free: 14.42 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 4.692e-05/0.999, allocations: 26.48 kB / 1.113 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.789e-05/0.999, allocations: 12.92 kB / 1.113 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 5.931e-06/0.999, allocations: 0 / 1.113 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.807e-05/0.999, allocations: 30.56 kB / 1.113 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=1): time 7.72e-07/0.999, allocations: 0 / 1.113 GB, free: 14.33 MB / 0.8731 GB Notification: Performance of matching and sorting (n=1): time 0.0001334/0.9992, allocations: 33.83 kB / 1.113 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.297e-05/0.9992, allocations: 59.41 kB / 1.113 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.823e-05/0.9993, allocations: 105.8 kB / 1.114 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.9993, allocations: 25.7 kB / 1.114 GB, free: 14.07 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 5.372e-05/0.9994, allocations: 87.98 kB / 1.114 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 7.925e-06/0.9994, allocations: 7.844 kB / 1.114 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-06/0.9994, allocations: 7.938 kB / 1.114 GB, free: 13.97 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001129/0.9995, allocations: 322.8 kB / 1.114 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.444e-05/0.9996, allocations: 4 kB / 1.114 GB, free: 13.64 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.534e-05/0.9996, allocations: 22.58 kB / 1.114 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.661e-05/0.9996, allocations: 11.98 kB / 1.114 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.9996, allocations: 0 / 1.114 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.418e-05/0.9997, allocations: 49.64 kB / 1.114 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.9997, allocations: 7.984 kB / 1.114 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/0.9998, allocations: 8.094 kB / 1.114 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.238e-05/0.9998, allocations: 0 / 1.114 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.601e-05/0.9998, allocations: 4.25 kB / 1.114 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.9998, allocations: 4 kB / 1.114 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.531e-05/0.9999, allocations: 4 kB / 1.114 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-06/0.9999, allocations: 0 / 1.114 GB, free: 13.52 MB / 0.8731 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.536e-05/1, allocations: 121.7 kB / 1.114 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.302e-05/1, allocations: 0 / 1.114 GB, free: 13.39 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.737e-05/1, allocations: 11.11 kB / 1.114 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.442e-06/1, allocations: 0 / 1.114 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/1, allocations: 4 kB / 1.114 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.255e-06/1, allocations: 0 / 1.114 GB, free: 13.38 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002418/1, allocations: 346.7 kB / 1.115 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/1, allocations: 0 / 1.115 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.507e-05/1, allocations: 4 kB / 1.115 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/1, allocations: 0 / 1.115 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-06/1, allocations: 0 / 1.115 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/1, allocations: 0 / 1.115 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/1, allocations: 0 / 1.115 GB, free: 12.97 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.494e-05/1, allocations: 73.05 kB / 1.115 GB, free: 12.88 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 4.612e-05/1, allocations: 77.11 kB / 1.115 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.649e-05/1.001, allocations: 0 / 1.115 GB, free: 12.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.056e-05/1.001, allocations: 7.984 kB / 1.115 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.046e-05/1.001, allocations: 3.938 kB / 1.115 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/1.001, allocations: 0 / 1.115 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.56e-05/1.001, allocations: 83.28 kB / 1.115 GB, free: 12.7 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.262e-06/1.001, allocations: 4.031 kB / 1.115 GB, free: 12.69 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0001884/1.001, allocations: 11.94 kB / 1.115 GB, free: 12.68 MB / 0.8731 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003083/1.001, allocations: 0.5968 MB / 1.115 GB, free: 12.05 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 7.608e-05/1.001, allocations: 16.16 kB / 1.115 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/1.001, allocations: 0 / 1.115 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 6.462e-06/1.001, allocations: 4 kB / 1.115 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/1.002, allocations: 7.984 kB / 1.115 GB, free: 12.03 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003326/1.002, allocations: 150.1 kB / 1.116 GB, free: 11.84 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002173/1.002, allocations: 0.677 MB / 1.116 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 5.758e-05/1.002, allocations: 12.2 kB / 1.116 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.535e-05/1.002, allocations: 7.438 kB / 1.116 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of SimCode: time 3.3e-07/1.002, allocations: 4 kB / 1.116 GB, free: 11.11 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01227/1.014, allocations: 1.159 MB / 1.117 GB, free: 10.17 MB / 0.8731 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001885/1.015, allocations: 227 kB / 1.118 GB, free: 9.926 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.792/2.806, allocations: 0 / 1.118 GB, free: 9.926 MB / 0.8731 GB (rm -f Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.mat does not exist to compare? outputFormat=mat