Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion",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.005012/0.005012, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001269/0.001269, allocations: 201.9 kB / 16.68 MB, free: 5.969 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.436/1.436, allocations: 222.9 MB / 240.4 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8901/0.8901, allocations: 132.2 MB / 422.7 MB, free: 6.605 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001862/0.001862, allocations: 57.75 kB / 0.5808 GB, free: 24.07 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1503/0.1522, allocations: 80.21 MB / 0.6592 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4996/0.6519, allocations: 148.3 MB / 0.804 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0001203/0.652, allocations: 50.44 kB / 0.804 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.214e-05/0.6521, allocations: 5.25 kB / 0.804 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 9.685e-05/0.6522, allocations: 5.812 kB / 0.804 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 6.783e-05/0.6523, allocations: 11.66 kB / 0.804 GB, free: 11.68 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006423/0.6529, allocations: 210.1 kB / 0.8042 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 7.869e-05/0.653, allocations: 38.84 kB / 0.8043 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 3.683e-05/0.653, allocations: 3.359 kB / 0.8043 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 2.945e-05/0.6531, allocations: 14.28 kB / 0.8043 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 6.337e-05/0.6531, allocations: 17.55 kB / 0.8043 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.351e-05/0.6532, allocations: 1.156 kB / 0.8043 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003812/0.6536, allocations: 195.6 kB / 0.8045 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 3.904e-05/0.6536, allocations: 10.2 kB / 0.8045 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 2.679e-05/0.6536, allocations: 12.06 kB / 0.8045 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002179/0.6539, allocations: 113.4 kB / 0.8046 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.6539, allocations: 1.969 kB / 0.8046 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.223e-06/0.6539, allocations: 0 / 0.8046 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 3.867e-06/0.6539, allocations: 0 / 0.8046 GB, free: 11.59 MB / 0.5919 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.0004388/0.6543, allocations: 348.2 kB / 0.805 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.6544, allocations: 13.53 kB / 0.805 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.559e-05/0.6544, allocations: 36.19 kB / 0.805 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002809/0.6547, allocations: 26.66 kB / 0.805 GB, free: 11.19 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.6549, allocations: 162.9 kB / 0.8052 GB, free: 10.99 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.254e-05/0.6549, allocations: 31.36 kB / 0.8052 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/0.6549, allocations: 4.031 kB / 0.8052 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/0.6551, allocations: 48.2 kB / 0.8053 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.6551, allocations: 1.5 kB / 0.8053 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.6551, allocations: 4 kB / 0.8053 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.429e-05/0.6551, allocations: 4 kB / 0.8053 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.296e-05/0.6552, allocations: 22.42 kB / 0.8053 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003481/0.6556, allocations: 261.7 kB / 0.8055 GB, free: 10.65 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 5.098e-05/0.6556, allocations: 21.84 kB / 0.8056 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.944e-05/0.6556, allocations: 8.047 kB / 0.8056 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001485/0.6558, allocations: 99.72 kB / 0.8057 GB, free: 10.52 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.988e-05/0.6558, allocations: 30.56 kB / 0.8057 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.6558, allocations: 1.219 kB / 0.8057 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of matching and sorting (n=2): time 0.0002345/0.6561, allocations: 55.14 kB / 0.8058 GB, free: 10.44 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.6561, allocations: 51.41 kB / 0.8058 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.705e-05/0.6562, allocations: 110.7 kB / 0.8059 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.925e-05/0.6563, allocations: 25.7 kB / 0.8059 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.953e-05/0.6563, allocations: 90.66 kB / 0.806 GB, free: 10.16 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 8.586e-06/0.6563, allocations: 7.156 kB / 0.806 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.442e-05/0.6564, allocations: 16.72 kB / 0.806 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.6565, allocations: 314.5 kB / 0.8063 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.547e-05/0.6565, allocations: 3 kB / 0.8063 GB, free: 9.824 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.379e-05/0.6566, allocations: 29.94 kB / 0.8064 GB, free: 9.797 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.462e-05/0.6566, allocations: 30.58 kB / 0.8064 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.6566, allocations: 0 / 0.8064 GB, free: 9.77 MB / 0.5919 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.704e-05/0.6567, allocations: 53.75 kB / 0.8065 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.6567, allocations: 4.812 kB / 0.8065 GB, free: 9.734 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.6568, allocations: 5.219 kB / 0.8065 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.18e-05/0.6568, allocations: 1.5 kB / 0.8065 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.731e-05/0.6568, allocations: 5.469 kB / 0.8065 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.305e-06/0.6569, allocations: 11.28 kB / 0.8065 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.743e-05/0.6569, allocations: 1.094 kB / 0.8065 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.6569, allocations: 6.344 kB / 0.8065 GB, free: 9.723 MB / 0.5919 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 7.939e-05/0.657, allocations: 112.7 kB / 0.8066 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.74e-05/0.657, allocations: 4.984 kB / 0.8066 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.559e-05/0.657, allocations: 13.75 kB / 0.8066 GB, free: 9.59 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.6571, allocations: 4 kB / 0.8066 GB, free: 9.586 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.6571, allocations: 3.938 kB / 0.8066 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.6571, allocations: 5.125 kB / 0.8066 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003265/0.6574, allocations: 365.2 kB / 0.807 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.985e-06/0.6574, allocations: 4.25 kB / 0.807 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.416e-05/0.6574, allocations: 2.125 kB / 0.807 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.18e-06/0.6575, allocations: 5.406 kB / 0.807 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.111e-06/0.6575, allocations: 4.062 kB / 0.807 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.6575, allocations: 3.766 kB / 0.807 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.6575, allocations: 0 / 0.807 GB, free: 9.18 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001001/0.6576, allocations: 66.5 kB / 0.8071 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 5.25e-05/0.6576, allocations: 82.48 kB / 0.8071 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.694e-05/0.6577, allocations: 1.406 kB / 0.8071 GB, free: 9.012 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.035e-05/0.6578, allocations: 12.39 kB / 0.8071 GB, free: 9.008 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.36e-05/0.6578, allocations: 4.812 kB / 0.8072 GB, free: 9.004 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.6578, allocations: 1.438 kB / 0.8072 GB, free: 9.004 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.285e-05/0.6578, allocations: 80.56 kB / 0.8072 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6578, allocations: 0 / 0.8072 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0001946/0.658, allocations: 10.44 kB / 0.8072 GB, free: 8.93 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (2): * Single equations (assignments): 2 * 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.0003955/0.6584, allocations: 0.6078 MB / 0.8078 GB, free: 8.324 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 8.552e-05/0.6585, allocations: 19.98 kB / 0.8079 GB, free: 8.32 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.6586, allocations: 1.219 kB / 0.8079 GB, free: 8.32 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.036e-05/0.6586, allocations: 3.312 kB / 0.8079 GB, free: 8.32 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.6588, allocations: 14.75 kB / 0.8079 GB, free: 8.316 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003616/0.6592, allocations: 146.7 kB / 0.808 GB, free: 8.164 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002927/0.6595, allocations: 0.6755 MB / 0.8087 GB, free: 7.469 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.895e-05/0.6595, allocations: 10.05 kB / 0.8087 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.832e-05/0.6596, allocations: 8.844 kB / 0.8087 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of SimCode: time 2.4e-07/0.6596, allocations: 0 / 0.8087 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02191/0.6815, allocations: 1.446 MB / 0.8101 GB, free: 7.105 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.635/9.316, allocations: 14.41 kB / 0.8101 GB, free: 7.094 MB / 0.5919 GB (rm -f IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)