Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0007523/0.0007523, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008315/0.0008315, allocations: 169.9 kB / 22.46 MB, free: 2.105 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.9365/0.9365, allocations: 177.1 MB / 202.8 MB, free: 5.742 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7434/0.7434, allocations: 154.6 MB / 413.8 MB, free: 0.8164 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 3.135e-06/3.135e-06, allocations: 0 / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.563e-05/2.876e-05, allocations: 6.219 kB / 0.6181 GB, free: 13.68 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.5148/0.5148, allocations: 130 MB / 0.745 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0001283/0.5149, allocations: 51.41 kB / 0.7451 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.727e-05/0.5149, allocations: 0 / 0.7451 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001308/0.5151, allocations: 2.297 kB / 0.7451 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.797e-05/0.5152, allocations: 23.98 kB / 0.7451 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004472/0.5156, allocations: 109.1 kB / 0.7452 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 8.79e-05/0.5157, allocations: 36.94 kB / 0.7452 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.176e-05/0.5157, allocations: 2.031 kB / 0.7452 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 5.691e-05/0.5158, allocations: 22.19 kB / 0.7453 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.432e-05/0.5159, allocations: 9.844 kB / 0.7453 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/0.5159, allocations: 1.125 kB / 0.7453 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002071/0.5161, allocations: 74.17 kB / 0.7453 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.774e-05/0.5162, allocations: 13.28 kB / 0.7454 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.592e-05/0.5162, allocations: 10.83 kB / 0.7454 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.000177/0.5164, allocations: 73.27 kB / 0.7454 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.5164, allocations: 0 / 0.7454 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.823e-06/0.5164, allocations: 0 / 0.7454 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.5164, allocations: 1.25 kB / 0.7454 GB, free: 19.84 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.000311/0.5167, allocations: 256.8 kB / 0.7457 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.5167, allocations: 10.22 kB / 0.7457 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.531e-05/0.5167, allocations: 32.44 kB / 0.7457 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001727/0.5169, allocations: 25.36 kB / 0.7458 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.074e-05/0.517, allocations: 107.5 kB / 0.7459 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.931e-05/0.517, allocations: 55.17 kB / 0.7459 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/0.517, allocations: 3.938 kB / 0.7459 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.5172, allocations: 73.41 kB / 0.746 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.5172, allocations: 0 / 0.746 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.5172, allocations: 1.125 kB / 0.746 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.813e-05/0.5172, allocations: 5.891 kB / 0.746 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.726e-05/0.5172, allocations: 19.47 kB / 0.746 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002753/0.5175, allocations: 233.3 kB / 0.7462 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.267e-05/0.5176, allocations: 19.64 kB / 0.7462 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.61e-05/0.5176, allocations: 11.14 kB / 0.7463 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 6.071e-06/0.5176, allocations: 0 / 0.7463 GB, free: 18.98 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.703e-05/0.5176, allocations: 36.72 kB / 0.7463 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 7.32e-07/0.5176, allocations: 0 / 0.7463 GB, free: 18.94 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001254/0.5177, allocations: 37.09 kB / 0.7463 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.296e-05/0.5177, allocations: 53.23 kB / 0.7464 GB, free: 18.84 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.607e-05/0.5178, allocations: 112.6 kB / 0.7465 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 8.075e-06/0.5178, allocations: 26.92 kB / 0.7465 GB, free: 18.7 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.542e-05/0.5179, allocations: 90.66 kB / 0.7466 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.993e-06/0.5179, allocations: 5.172 kB / 0.7466 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.808e-05/0.5179, allocations: 14.7 kB / 0.7466 GB, free: 18.59 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.847e-05/0.5179, allocations: 320.7 kB / 0.7469 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.518e-05/0.518, allocations: 4.766 kB / 0.7469 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.354e-05/0.518, allocations: 22.39 kB / 0.7469 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.594e-05/0.518, allocations: 35.69 kB / 0.747 GB, free: 18.21 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.518, allocations: 0 / 0.747 GB, free: 18.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.987e-05/0.5181, allocations: 53.11 kB / 0.747 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.869e-05/0.5181, allocations: 8.641 kB / 0.747 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.272e-06/0.5181, allocations: 1.188 kB / 0.747 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.414e-05/0.5181, allocations: 1.031 kB / 0.747 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.779e-05/0.5182, allocations: 6.438 kB / 0.747 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.5182, allocations: 1.641 kB / 0.7471 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.156e-05/0.5182, allocations: 12.88 kB / 0.7471 GB, free: 18.17 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.221e-06/0.5182, allocations: 10.17 kB / 0.7471 GB, free: 18.16 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 5.087e-05/0.5183, allocations: 114.8 kB / 0.7472 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.375e-05/0.5183, allocations: 1.25 kB / 0.7472 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.239e-05/0.5183, allocations: 9.172 kB / 0.7472 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.743e-06/0.5183, allocations: 0 / 0.7472 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.5183, allocations: 1.406 kB / 0.7472 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.5183, allocations: 0.75 kB / 0.7472 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.5185, allocations: 331 kB / 0.7475 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.62e-07/0.5185, allocations: 0 / 0.7475 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.382e-06/0.5185, allocations: 1.891 kB / 0.7475 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.314e-06/0.5185, allocations: 5.25 kB / 0.7475 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-06/0.5185, allocations: 0 / 0.7475 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.5185, allocations: 5.25 kB / 0.7475 GB, free: 17.67 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.5185, allocations: 1 kB / 0.7475 GB, free: 17.67 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.405e-05/0.5185, allocations: 58.52 kB / 0.7476 GB, free: 17.61 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.295e-06/0.5185, allocations: 5.234 kB / 0.7476 GB, free: 17.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.136e-05/0.5186, allocations: 1.062 kB / 0.7476 GB, free: 17.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.709e-05/0.5186, allocations: 7.969 kB / 0.7476 GB, free: 17.6 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.247e-05/0.5186, allocations: 7.594 kB / 0.7476 GB, free: 17.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.435e-06/0.5186, allocations: 1.656 kB / 0.7476 GB, free: 17.6 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.109e-05/0.5186, allocations: 85.19 kB / 0.7477 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.5186, allocations: 1.25 kB / 0.7477 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001292/0.5188, allocations: 6.75 kB / 0.7477 GB, free: 17.52 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.0001713/0.5189, allocations: 0.5888 MB / 0.7483 GB, free: 16.93 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 7.531e-05/0.519, allocations: 17.47 kB / 0.7483 GB, free: 16.92 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.519, allocations: 0 / 0.7483 GB, free: 16.92 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.808e-06/0.519, allocations: 2.375 kB / 0.7483 GB, free: 16.92 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002329/0.5193, allocations: 12.3 kB / 0.7483 GB, free: 16.91 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003168/0.5196, allocations: 141.9 kB / 0.7484 GB, free: 16.77 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.164e-05/0.5196, allocations: 60 kB / 0.7485 GB, free: 16.7 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.427e-05/0.5197, allocations: 6.141 kB / 0.7485 GB, free: 16.7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.827e-05/0.5197, allocations: 10.59 kB / 0.7485 GB, free: 16.69 MB / 0.6355 GB Notification: Performance of SimCode: time 4.71e-07/0.5197, allocations: 0 / 0.7485 GB, free: 16.69 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0164/0.5361, allocations: 2.031 MB / 0.7505 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.878/7.414, allocations: 3.266 kB / 0.7505 GB, free: 15.85 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.sim & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion.fmu > IDEAS_IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.373133628629148] Failed to read output from testmodel.py, exit status != 0: 7.494250037707388 7.507067685 6.987736818 Calling exit ...