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.001208/0.001208, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.00122/0.00122, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 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.9561/0.9561, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.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.7417/0.7417, allocations: 154.5 MB / 413.7 MB, free: 0.8242 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [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: Performance of FrontEnd - loaded program: time 2.885e-06/2.885e-06, allocations: 4 kB / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.359e-05/2.648e-05, allocations: 2.281 kB / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.477/0.477, allocations: 130 MB / 0.745 GB, free: 20.08 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0001539/0.4772, allocations: 56.48 kB / 0.745 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.889e-05/0.4772, allocations: 0 / 0.745 GB, free: 20.05 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001397/0.4773, allocations: 10.14 kB / 0.745 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 9.044e-05/0.4774, allocations: 11.88 kB / 0.745 GB, free: 20.04 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00048/0.4779, allocations: 110.9 kB / 0.7451 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0001078/0.478, allocations: 34.25 kB / 0.7452 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.667e-05/0.478, allocations: 2.578 kB / 0.7452 GB, free: 19.98 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 6.326e-05/0.4781, allocations: 26.7 kB / 0.7452 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 8.179e-05/0.4782, allocations: 12.88 kB / 0.7452 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.994e-05/0.4782, allocations: 1.094 kB / 0.7452 GB, free: 19.96 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002278/0.4784, allocations: 78.06 kB / 0.7453 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 6.496e-05/0.4785, allocations: 6.125 kB / 0.7453 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 3.107e-05/0.4785, allocations: 14.14 kB / 0.7453 GB, free: 19.92 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002275/0.4788, allocations: 72.95 kB / 0.7454 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.935e-06/0.4788, allocations: 1.25 kB / 0.7454 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.894e-06/0.4788, allocations: 0 / 0.7454 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.4788, allocations: 0 / 0.7454 GB, free: 19.9 MB / 0.6355 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.0004244/0.4792, allocations: 262.3 kB / 0.7456 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.4793, allocations: 10.38 kB / 0.7456 GB, free: 19.63 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.967e-05/0.4793, allocations: 32.33 kB / 0.7457 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002119/0.4795, allocations: 20.97 kB / 0.7457 GB, free: 19.59 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.15e-05/0.4796, allocations: 108.9 kB / 0.7458 GB, free: 19.46 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.891e-05/0.4796, allocations: 53.83 kB / 0.7459 GB, free: 19.4 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.4796, allocations: 5.219 kB / 0.7459 GB, free: 19.4 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.4798, allocations: 71.92 kB / 0.7459 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.353e-06/0.4798, allocations: 5.625 kB / 0.7459 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.089e-05/0.4798, allocations: 0.6562 kB / 0.7459 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/0.4798, allocations: 1.781 kB / 0.7459 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.193e-05/0.4799, allocations: 22.08 kB / 0.746 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002899/0.4801, allocations: 229.8 kB / 0.7462 GB, free: 19.08 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.606e-05/0.4802, allocations: 20.39 kB / 0.7462 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.564e-05/0.4802, allocations: 7.062 kB / 0.7462 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 5.961e-06/0.4802, allocations: 0 / 0.7462 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.4802, allocations: 36.69 kB / 0.7462 GB, free: 19 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 7.22e-07/0.4802, allocations: 0 / 0.7462 GB, free: 19 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001216/0.4803, allocations: 37.97 kB / 0.7463 GB, free: 18.97 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.814e-05/0.4804, allocations: 55.41 kB / 0.7463 GB, free: 18.9 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.701e-05/0.4804, allocations: 110.9 kB / 0.7464 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.865e-06/0.4804, allocations: 26.7 kB / 0.7465 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.788e-05/0.4805, allocations: 85.16 kB / 0.7465 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.542e-06/0.4805, allocations: 5.438 kB / 0.7465 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.569e-05/0.4805, allocations: 18.66 kB / 0.7466 GB, free: 18.66 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.938e-05/0.4805, allocations: 317.1 kB / 0.7469 GB, free: 18.34 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.475e-05/0.4805, allocations: 9.219 kB / 0.7469 GB, free: 18.34 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.615e-05/0.4806, allocations: 25.44 kB / 0.7469 GB, free: 18.31 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.633e-05/0.4806, allocations: 35.36 kB / 0.7469 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4806, allocations: 1.094 kB / 0.7469 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.11e-05/0.4807, allocations: 53.5 kB / 0.747 GB, free: 18.23 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.4807, allocations: 5.844 kB / 0.747 GB, free: 18.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.63e-06/0.4807, allocations: 0 / 0.747 GB, free: 18.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.4807, allocations: 10.86 kB / 0.747 GB, free: 18.23 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.123e-05/0.4808, allocations: 5.547 kB / 0.747 GB, free: 18.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.863e-06/0.4808, allocations: 1.156 kB / 0.747 GB, free: 18.23 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.449e-05/0.4808, allocations: 11.09 kB / 0.747 GB, free: 18.22 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.4808, allocations: 5.062 kB / 0.747 GB, free: 18.21 MB / 0.6355 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 4.275e-05/0.4808, allocations: 114.1 kB / 0.7471 GB, free: 18.1 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.388e-05/0.4808, allocations: 2.344 kB / 0.7471 GB, free: 18.1 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.987e-05/0.4809, allocations: 5.016 kB / 0.7471 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.4809, allocations: 0.5625 kB / 0.7471 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.4809, allocations: 3.625 kB / 0.7471 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.4809, allocations: 5.859 kB / 0.7471 GB, free: 18.09 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.481, allocations: 319.2 kB / 0.7474 GB, free: 17.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.481, allocations: 0 / 0.7474 GB, free: 17.74 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.422e-06/0.481, allocations: 1.781 kB / 0.7474 GB, free: 17.74 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.123e-06/0.481, allocations: 1.188 kB / 0.7474 GB, free: 17.74 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-06/0.481, allocations: 2.438 kB / 0.7475 GB, free: 17.74 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.481, allocations: 9.703 kB / 0.7475 GB, free: 17.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.481, allocations: 0 / 0.7475 GB, free: 17.73 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.011e-05/0.4811, allocations: 58.14 kB / 0.7475 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.294e-06/0.4811, allocations: 1.719 kB / 0.7475 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.158e-05/0.4811, allocations: 6.016 kB / 0.7475 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.832e-05/0.4811, allocations: 7.344 kB / 0.7475 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.388e-05/0.4812, allocations: 1.984 kB / 0.7475 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.052e-06/0.4812, allocations: 0 / 0.7475 GB, free: 17.66 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.377e-05/0.4812, allocations: 86.81 kB / 0.7476 GB, free: 17.58 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4812, allocations: 0 / 0.7476 GB, free: 17.58 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001327/0.4813, allocations: 6.75 kB / 0.7476 GB, free: 17.58 MB / 0.6355 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.0001808/0.4815, allocations: 0.5922 MB / 0.7482 GB, free: 16.98 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 8.882e-05/0.4816, allocations: 17.12 kB / 0.7482 GB, free: 16.98 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4816, allocations: 1.125 kB / 0.7482 GB, free: 16.98 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.739e-06/0.4816, allocations: 5.969 kB / 0.7482 GB, free: 16.98 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/0.4818, allocations: 12.3 kB / 0.7482 GB, free: 16.97 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003137/0.4822, allocations: 136.9 kB / 0.7484 GB, free: 16.82 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.328e-05/0.4822, allocations: 60.27 kB / 0.7484 GB, free: 16.75 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.187e-05/0.4822, allocations: 9.719 kB / 0.7484 GB, free: 16.75 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.255e-05/0.4823, allocations: 10.06 kB / 0.7484 GB, free: 16.75 MB / 0.6355 GB Notification: Performance of SimCode: time 7.62e-07/0.4823, allocations: 0 / 0.7484 GB, free: 16.75 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01436/0.4966, allocations: 2.034 MB / 0.7504 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.817/7.314, allocations: 19.16 kB / 0.7504 GB, free: 15.9 MB / 0.6355 GB " [Timeout remaining time 653] (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.275914100930095] Failed to read output from testmodel.py, exit status != 0: 7.394690706394613 7.405032883 6.92387536 Calling exit ...