Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008299/0.0008299, allocations: 105.9 kB / 18.93 MB, free: 1.27 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009864/0.0009864, allocations: 219.1 kB / 22.26 MB, free: 3.699 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.982/0.982, allocations: 230.6 MB / 256 MB, free: 9.828 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8302/0.8302, allocations: 203.8 MB / 0.5042 GB, free: 10.8 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0008058/0.0008058, allocations: 71.23 kB / 0.7182 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5576/0.5584, allocations: 102 MB / 0.8179 GB, free: 1.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.1538/0.7122, allocations: 151.2 MB / 0.9655 GB, free: 14.32 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001349/0.7123, allocations: 47.88 kB / 0.9655 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.069e-05/0.7124, allocations: 0 / 0.9655 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001583/0.7125, allocations: 7.922 kB / 0.9656 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 7.998e-05/0.7126, allocations: 15.92 kB / 0.9656 GB, free: 14.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004427/0.7131, allocations: 117.4 kB / 0.9657 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.911e-05/0.7131, allocations: 35.8 kB / 0.9657 GB, free: 14.11 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.437e-05/0.7132, allocations: 7.984 kB / 0.9657 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.736e-05/0.7132, allocations: 11.98 kB / 0.9657 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.266e-05/0.7133, allocations: 8 kB / 0.9657 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.068e-05/0.7133, allocations: 0 / 0.9657 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002074/0.7135, allocations: 95.7 kB / 0.9658 GB, free: 13.98 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.084e-05/0.7136, allocations: 15.91 kB / 0.9658 GB, free: 13.97 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.587e-05/0.7136, allocations: 4 kB / 0.9659 GB, free: 13.96 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001399/0.7137, allocations: 75.64 kB / 0.9659 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.7137, allocations: 4 kB / 0.9659 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.443e-06/0.7137, allocations: 3.938 kB / 0.9659 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.623e-06/0.7137, allocations: 0 / 0.9659 GB, free: 13.89 MB / 0.7448 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.0003381/0.7141, allocations: 260.6 kB / 0.9662 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.7141, allocations: 12.03 kB / 0.9662 GB, free: 13.59 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.19e-05/0.7142, allocations: 34.73 kB / 0.9662 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001652/0.7143, allocations: 16.92 kB / 0.9662 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.865e-05/0.7144, allocations: 114.2 kB / 0.9663 GB, free: 13.4 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.832e-05/0.7145, allocations: 59.41 kB / 0.9664 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.999e-06/0.7145, allocations: 0 / 0.9664 GB, free: 13.33 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.7146, allocations: 53.67 kB / 0.9665 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.7146, allocations: 0 / 0.9665 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.869e-06/0.7146, allocations: 0 / 0.9665 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.645e-05/0.7146, allocations: 0 / 0.9665 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.465e-05/0.7147, allocations: 23.92 kB / 0.9665 GB, free: 13.25 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000305/0.715, allocations: 235.9 kB / 0.9667 GB, free: 12.97 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.471e-05/0.715, allocations: 18.52 kB / 0.9667 GB, free: 12.95 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.873e-05/0.715, allocations: 8.922 kB / 0.9667 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 8.867e-06/0.715, allocations: 0 / 0.9667 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.389e-05/0.715, allocations: 30.56 kB / 0.9668 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 9.61e-07/0.7151, allocations: 7.938 kB / 0.9668 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001194/0.7152, allocations: 37.64 kB / 0.9668 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.31e-05/0.7152, allocations: 59.34 kB / 0.9669 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.157e-05/0.7153, allocations: 105.8 kB / 0.967 GB, free: 12.66 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.054e-05/0.7153, allocations: 25.7 kB / 0.967 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.098e-05/0.7153, allocations: 88.05 kB / 0.9671 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.731e-06/0.7153, allocations: 0 / 0.9671 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.527e-05/0.7154, allocations: 21.7 kB / 0.9671 GB, free: 12.51 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.905e-05/0.7154, allocations: 319 kB / 0.9674 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.062e-05/0.7154, allocations: 0 / 0.9674 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.88e-05/0.7155, allocations: 34.55 kB / 0.9674 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.366e-05/0.7155, allocations: 30.52 kB / 0.9675 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.933e-06/0.7155, allocations: 0 / 0.9675 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.629e-05/0.7156, allocations: 61.58 kB / 0.9675 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.309e-05/0.7156, allocations: 6.344 kB / 0.9675 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.7156, allocations: 0 / 0.9675 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.7156, allocations: 4 kB / 0.9675 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.081e-05/0.7156, allocations: 8.188 kB / 0.9675 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.7157, allocations: 0 / 0.9675 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.051e-05/0.7157, allocations: 8 kB / 0.9675 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-06/0.7157, allocations: 0 / 0.9675 GB, free: 12.02 MB / 0.7448 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.457e-05/0.7157, allocations: 129.8 kB / 0.9677 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.262e-05/0.7158, allocations: 0 / 0.9677 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.305e-05/0.7158, allocations: 7.109 kB / 0.9677 GB, free: 11.88 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/0.7158, allocations: 7.938 kB / 0.9677 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.7158, allocations: 0 / 0.9677 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.7158, allocations: 0 / 0.9677 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002213/0.716, allocations: 309.9 kB / 0.968 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.716, allocations: 0 / 0.968 GB, free: 11.51 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.17e-05/0.716, allocations: 11.95 kB / 0.968 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.716, allocations: 0 / 0.968 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.716, allocations: 4 kB / 0.968 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.11e-07/0.716, allocations: 0 / 0.968 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.716, allocations: 3.938 kB / 0.968 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.639e-05/0.7161, allocations: 61.09 kB / 0.9681 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 7.915e-06/0.7161, allocations: 7.875 kB / 0.9681 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.281e-05/0.7161, allocations: 3.984 kB / 0.9681 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.273e-05/0.7162, allocations: 8.031 kB / 0.9681 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.222e-05/0.7162, allocations: 3.938 kB / 0.9681 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.923e-06/0.7162, allocations: 0 / 0.9681 GB, free: 11.39 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.588e-05/0.7162, allocations: 87.27 kB / 0.9682 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.7162, allocations: 0 / 0.9682 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001226/0.7163, allocations: 8 kB / 0.9682 GB, free: 11.3 MB / 0.7448 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.0002586/0.7166, allocations: 0.5929 MB / 0.9687 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.884e-05/0.7167, allocations: 19.98 kB / 0.9688 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.7167, allocations: 0 / 0.9688 GB, free: 10.66 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.467e-06/0.7167, allocations: 3.938 kB / 0.9688 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000231/0.7169, allocations: 5.125 kB / 0.9688 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006751/0.7176, allocations: 144.8 kB / 0.9689 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001963/0.7178, allocations: 0.6768 MB / 0.9696 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.164e-05/0.7178, allocations: 7.984 kB / 0.9696 GB, free: 9.754 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.977e-05/0.7179, allocations: 7.438 kB / 0.9696 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of SimCode: time 5.51e-07/0.7179, allocations: 0 / 0.9696 GB, free: 9.746 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01477/0.7326, allocations: 1.47 MB / 0.971 GB, free: 8.406 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.859/7.592, allocations: 8.062 kB / 0.971 GB, free: 8.398 MB / 0.7448 GB " [Timeout remaining time 652] (rm -f IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.78468611300923] Failed to read output from testmodel.py, exit status != 0: 7.681559357093647 7.695023056 6.978689449 Calling exit ...