Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_Buildings_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="Buildings_8_Buildings_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.001564/0.001568, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001705/0.001705, allocations: 193 kB / 16.14 MB, free: 6.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.135/1.135, allocations: 205.1 MB / 222 MB, free: 4.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.454/1.454, allocations: 292.3 MB / 0.5484 GB, free: 13.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002063/0.002064, allocations: 65.55 kB / 0.6709 GB, free: 26.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1711, allocations: 114.6 MB / 0.7828 GB, free: 13.94 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4526/0.6238, allocations: 146 MB / 0.9254 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 9.126e-05/0.6239, allocations: 53.55 kB / 0.9254 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.53e-05/0.624, allocations: 0 / 0.9254 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 8.334e-05/0.6241, allocations: 4.5 kB / 0.9254 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.797e-05/0.6242, allocations: 11.08 kB / 0.9254 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005242/0.6247, allocations: 192.9 kB / 0.9256 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 6.923e-05/0.6248, allocations: 56.22 kB / 0.9257 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 2.418e-05/0.6248, allocations: 3.844 kB / 0.9257 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 2.517e-05/0.6248, allocations: 13.45 kB / 0.9257 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 5.11e-05/0.6249, allocations: 13.61 kB / 0.9257 GB, free: 6.027 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 8.767e-06/0.6249, allocations: 4 kB / 0.9257 GB, free: 6.023 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003447/0.6252, allocations: 232.7 kB / 0.9259 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.522e-05/0.6253, allocations: 7.766 kB / 0.9259 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 2.376e-05/0.6253, allocations: 13.25 kB / 0.926 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002147/0.6255, allocations: 119.4 kB / 0.9261 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.6255, allocations: 0 / 0.9261 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of FrontEnd: time 6.82e-07/0.6255, allocations: 1.094 kB / 0.9261 GB, free: 6.02 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 3.236e-06/0.6256, allocations: 1.312 kB / 0.9261 GB, free: 6.02 MB / 0.7325 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.0004496/0.626, allocations: 352.8 kB / 0.9264 GB, free: 21.66 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.34e-05/0.626, allocations: 9.156 kB / 0.9264 GB, free: 21.66 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.911e-05/0.6261, allocations: 31.78 kB / 0.9264 GB, free: 21.62 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002601/0.6263, allocations: 29.47 kB / 0.9265 GB, free: 21.62 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.641e-05/0.6264, allocations: 162.4 kB / 0.9266 GB, free: 21.42 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.775e-05/0.6265, allocations: 31.58 kB / 0.9267 GB, free: 21.39 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.057e-06/0.6265, allocations: 1.062 kB / 0.9267 GB, free: 21.39 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.6266, allocations: 53.44 kB / 0.9267 GB, free: 21.36 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.42e-06/0.6267, allocations: 4 kB / 0.9267 GB, free: 21.35 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.646e-06/0.6267, allocations: 0 / 0.9267 GB, free: 21.35 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.306e-05/0.6267, allocations: 2.281 kB / 0.9267 GB, free: 21.35 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.392e-05/0.6267, allocations: 21.17 kB / 0.9267 GB, free: 21.35 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000263/0.627, allocations: 259.4 kB / 0.927 GB, free: 21.09 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 3.585e-05/0.6271, allocations: 23.77 kB / 0.927 GB, free: 21.06 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.641e-05/0.6271, allocations: 15.75 kB / 0.927 GB, free: 21.05 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001355/0.6272, allocations: 92.7 kB / 0.9271 GB, free: 20.96 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.15e-05/0.6272, allocations: 33 kB / 0.9271 GB, free: 20.92 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.6273, allocations: 0 / 0.9271 GB, free: 20.92 MB / 0.7481 GB Notification: Performance of matching and sorting (n=2): time 0.0001959/0.6275, allocations: 53.38 kB / 0.9272 GB, free: 20.89 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.6275, allocations: 56.69 kB / 0.9272 GB, free: 20.82 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.127e-05/0.6276, allocations: 111.3 kB / 0.9274 GB, free: 20.71 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.258e-05/0.6276, allocations: 27.77 kB / 0.9274 GB, free: 20.68 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 3.82e-05/0.6276, allocations: 88.64 kB / 0.9275 GB, free: 20.59 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.29e-06/0.6276, allocations: 6.188 kB / 0.9275 GB, free: 20.59 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.291e-05/0.6277, allocations: 17.22 kB / 0.9275 GB, free: 20.57 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 8.313e-05/0.6277, allocations: 311.8 kB / 0.9278 GB, free: 20.26 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.408e-05/0.6278, allocations: 5.703 kB / 0.9278 GB, free: 20.26 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.85e-05/0.6278, allocations: 30.92 kB / 0.9278 GB, free: 20.23 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.159e-05/0.6278, allocations: 30.17 kB / 0.9278 GB, free: 20.21 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.6278, allocations: 0.875 kB / 0.9279 GB, free: 20.21 MB / 0.7481 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.079e-05/0.6279, allocations: 52.41 kB / 0.9279 GB, free: 20.18 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.143e-05/0.6279, allocations: 9.812 kB / 0.9279 GB, free: 20.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.6279, allocations: 2.297 kB / 0.9279 GB, free: 20.18 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/0.6279, allocations: 2.062 kB / 0.9279 GB, free: 20.18 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.86e-05/0.628, allocations: 8.938 kB / 0.9279 GB, free: 20.18 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.18e-06/0.628, allocations: 4.875 kB / 0.9279 GB, free: 20.17 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.458e-05/0.628, allocations: 5.656 kB / 0.9279 GB, free: 20.17 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.778e-06/0.628, allocations: 1.625 kB / 0.9279 GB, free: 20.17 MB / 0.7481 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.169e-05/0.6281, allocations: 115.1 kB / 0.928 GB, free: 20.05 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.322e-05/0.6281, allocations: 1.031 kB / 0.928 GB, free: 20.05 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.608e-05/0.6282, allocations: 11.88 kB / 0.9281 GB, free: 20.04 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.994e-06/0.6282, allocations: 1 kB / 0.9281 GB, free: 20.04 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.6282, allocations: 3.938 kB / 0.9281 GB, free: 20.04 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.893e-06/0.6282, allocations: 5.531 kB / 0.9281 GB, free: 20.04 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002211/0.6284, allocations: 356.3 kB / 0.9284 GB, free: 19.66 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.6284, allocations: 1.531 kB / 0.9284 GB, free: 19.66 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.272e-05/0.6285, allocations: 2.531 kB / 0.9284 GB, free: 19.66 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.544e-06/0.6285, allocations: 9.188 kB / 0.9284 GB, free: 19.65 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.33e-06/0.6285, allocations: 1.031 kB / 0.9284 GB, free: 19.65 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.6285, allocations: 2.594 kB / 0.9284 GB, free: 19.65 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.6285, allocations: 2.906 kB / 0.9284 GB, free: 19.65 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.597e-05/0.6285, allocations: 73.92 kB / 0.9285 GB, free: 19.57 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 3.468e-05/0.6286, allocations: 83.72 kB / 0.9286 GB, free: 19.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.6286, allocations: 6.5 kB / 0.9286 GB, free: 19.47 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.525e-05/0.6287, allocations: 5.375 kB / 0.9286 GB, free: 19.47 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.928e-06/0.6287, allocations: 4.406 kB / 0.9286 GB, free: 19.47 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.675e-06/0.6287, allocations: 0.9062 kB / 0.9286 GB, free: 19.47 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 3.128e-05/0.6287, allocations: 82.06 kB / 0.9287 GB, free: 19.4 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6287, allocations: 0 / 0.9287 GB, free: 19.4 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0001717/0.6289, allocations: 6.5 kB / 0.9287 GB, free: 19.4 MB / 0.7481 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.0002786/0.6292, allocations: 0.6181 MB / 0.9293 GB, free: 18.79 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 6.041e-05/0.6293, allocations: 16.41 kB / 0.9293 GB, free: 18.79 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.6293, allocations: 0.8438 kB / 0.9293 GB, free: 18.79 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 1.039e-05/0.6293, allocations: 15.34 kB / 0.9293 GB, free: 18.79 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.6295, allocations: 4 kB / 0.9293 GB, free: 18.79 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002945/0.6298, allocations: 143.3 kB / 0.9295 GB, free: 18.64 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001864/0.63, allocations: 0.6796 MB / 0.9301 GB, free: 17.95 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 5.119e-05/0.63, allocations: 10.16 kB / 0.9301 GB, free: 17.94 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.192e-05/0.6301, allocations: 15.69 kB / 0.9301 GB, free: 17.93 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.6301, allocations: 1.094 kB / 0.9301 GB, free: 17.93 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.458/2.088, allocations: 1.258 MB / 0.9314 GB, free: 17.7 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003405/2.088, allocations: 207.2 kB / 0.9316 GB, free: 17.45 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.254/4.342, allocations: 0 / 0.9316 GB, free: 17.45 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Media_Examples_AirTemperatureEnthalpyInversion.fmu > Buildings_8_Buildings.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1)