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.0008824/0.0008824, 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.0008186/0.0008186, allocations: 165.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.9444/0.9444, allocations: 177.1 MB / 202.8 MB, free: 5.754 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.7192/0.7192, allocations: 154.6 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.625e-06/2.625e-06, allocations: 4 kB / 0.618 GB, free: 13.73 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.27e-05/2.533e-05, allocations: 2.281 kB / 0.618 GB, free: 13.72 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Specialized.Air.Examples.PerfectGasTemperatureEnthalpyInversion): time 0.4913/0.4913, allocations: 130 MB / 0.745 GB, free: 20.02 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0001391/0.4915, allocations: 52.31 kB / 0.745 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.107e-05/0.4915, allocations: 0 / 0.745 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001413/0.4917, allocations: 1.953 kB / 0.745 GB, free: 19.99 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 9.319e-05/0.4917, allocations: 24.75 kB / 0.745 GB, free: 19.97 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005161/0.4923, allocations: 103 kB / 0.7451 GB, free: 19.93 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 9.077e-05/0.4924, allocations: 37.56 kB / 0.7452 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.309e-05/0.4924, allocations: 2.453 kB / 0.7452 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 5.924e-05/0.4925, allocations: 22.62 kB / 0.7452 GB, free: 19.91 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.853e-05/0.4925, allocations: 14 kB / 0.7452 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.547e-05/0.4926, allocations: 1.375 kB / 0.7452 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002181/0.4928, allocations: 69.56 kB / 0.7453 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.552e-05/0.4928, allocations: 8.844 kB / 0.7453 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.378e-05/0.4928, allocations: 11.52 kB / 0.7453 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0001659/0.493, allocations: 77.5 kB / 0.7454 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.42e-06/0.493, allocations: 0 / 0.7454 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.084e-06/0.493, allocations: 0 / 0.7454 GB, free: 19.84 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.551e-06/0.493, allocations: 0 / 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.000338/0.4934, allocations: 257.6 kB / 0.7456 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.4934, allocations: 11.81 kB / 0.7456 GB, free: 19.58 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.561e-05/0.4934, allocations: 35.25 kB / 0.7457 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001799/0.4936, allocations: 22.19 kB / 0.7457 GB, free: 19.54 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.378e-05/0.4937, allocations: 104.5 kB / 0.7458 GB, free: 19.41 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.943e-05/0.4937, allocations: 57.59 kB / 0.7458 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/0.4937, allocations: 5.312 kB / 0.7459 GB, free: 19.34 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001207/0.4939, allocations: 76.14 kB / 0.7459 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.903e-06/0.4939, allocations: 1.344 kB / 0.7459 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.019e-05/0.4939, allocations: 0 / 0.7459 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.741e-05/0.4939, allocations: 2.188 kB / 0.7459 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.041e-05/0.4939, allocations: 19.06 kB / 0.7459 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003038/0.4942, allocations: 233.5 kB / 0.7462 GB, free: 19.02 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.924e-05/0.4943, allocations: 23.77 kB / 0.7462 GB, free: 19 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.757e-05/0.4943, allocations: 6.75 kB / 0.7462 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.085e-06/0.4943, allocations: 1.031 kB / 0.7462 GB, free: 18.99 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.73e-05/0.4943, allocations: 35.81 kB / 0.7462 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.283e-06/0.4943, allocations: 0 / 0.7462 GB, free: 18.95 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001227/0.4945, allocations: 37.95 kB / 0.7463 GB, free: 18.91 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.078e-05/0.4945, allocations: 52.44 kB / 0.7463 GB, free: 18.85 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.018e-05/0.4945, allocations: 112.9 kB / 0.7464 GB, free: 18.74 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.284e-06/0.4945, allocations: 26.92 kB / 0.7465 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.952e-05/0.4946, allocations: 90.58 kB / 0.7465 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.502e-06/0.4946, allocations: 9.234 kB / 0.7465 GB, free: 18.61 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.523e-05/0.4946, allocations: 14.7 kB / 0.7466 GB, free: 18.59 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.416e-05/0.4946, allocations: 321.1 kB / 0.7469 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.241e-05/0.4946, allocations: 3.875 kB / 0.7469 GB, free: 18.27 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.19e-05/0.4947, allocations: 22.22 kB / 0.7469 GB, free: 18.25 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.225e-05/0.4947, allocations: 32.31 kB / 0.7469 GB, free: 18.22 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.4947, allocations: 0 / 0.7469 GB, free: 18.22 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.678e-05/0.4948, allocations: 57.59 kB / 0.747 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.4948, allocations: 5.906 kB / 0.747 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.4948, allocations: 1.188 kB / 0.747 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.369e-05/0.4948, allocations: 1.094 kB / 0.747 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.175e-05/0.4948, allocations: 7.25 kB / 0.747 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.4949, allocations: 1.188 kB / 0.747 GB, free: 18.18 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.222e-05/0.4949, allocations: 9.031 kB / 0.747 GB, free: 18.17 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.541e-06/0.4949, allocations: 5.969 kB / 0.747 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 4.52e-05/0.4949, allocations: 110.8 kB / 0.7471 GB, free: 18.05 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.387e-05/0.4949, allocations: 6.188 kB / 0.7471 GB, free: 18.05 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.08e-05/0.495, allocations: 9.172 kB / 0.7471 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.495, allocations: 3.719 kB / 0.7471 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.495, allocations: 0 / 0.7471 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.495, allocations: 5.953 kB / 0.7471 GB, free: 18.04 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/0.4951, allocations: 323.1 kB / 0.7474 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.4951, allocations: 0 / 0.7474 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.081e-06/0.4951, allocations: 2.047 kB / 0.7474 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.062e-06/0.4951, allocations: 0.875 kB / 0.7475 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.819e-06/0.4951, allocations: 2.438 kB / 0.7475 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.4951, allocations: 5.094 kB / 0.7475 GB, free: 17.68 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.4951, allocations: 4.594 kB / 0.7475 GB, free: 17.67 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.619e-05/0.4952, allocations: 59.06 kB / 0.7475 GB, free: 17.61 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.061e-06/0.4952, allocations: 2.016 kB / 0.7475 GB, free: 17.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.057e-05/0.4952, allocations: 1.062 kB / 0.7475 GB, free: 17.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.098e-05/0.4952, allocations: 7.453 kB / 0.7475 GB, free: 17.6 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.089e-05/0.4952, allocations: 5.734 kB / 0.7475 GB, free: 17.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.913e-06/0.4952, allocations: 4.562 kB / 0.7475 GB, free: 17.59 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.293e-05/0.4953, allocations: 82.05 kB / 0.7476 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4953, allocations: 0 / 0.7476 GB, free: 17.52 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001259/0.4954, allocations: 7.062 kB / 0.7476 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.000145/0.4955, allocations: 0.5971 MB / 0.7482 GB, free: 16.92 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.674e-05/0.4956, allocations: 16.75 kB / 0.7482 GB, free: 16.92 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.225e-06/0.4956, allocations: 1.875 kB / 0.7482 GB, free: 16.92 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.677e-06/0.4956, allocations: 1.688 kB / 0.7482 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.0001992/0.4958, allocations: 9.031 kB / 0.7482 GB, free: 16.91 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002786/0.4961, allocations: 138.5 kB / 0.7484 GB, free: 16.77 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.208e-05/0.4961, allocations: 63.25 kB / 0.7484 GB, free: 16.7 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.703e-05/0.4961, allocations: 5.734 kB / 0.7484 GB, free: 16.7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.795e-05/0.4962, allocations: 10.2 kB / 0.7484 GB, free: 16.69 MB / 0.6355 GB Notification: Performance of SimCode: time 6.12e-07/0.4962, allocations: 1.031 kB / 0.7484 GB, free: 16.69 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0157/0.5119, allocations: 2.031 MB / 0.7504 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.953/7.464, allocations: 9.438 kB / 0.7504 GB, free: 15.86 MB / 0.6355 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Specialized_Air_Examples_PerfectGasTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.302024928852916] Failed to read output from testmodel.py, exit status != 0: 7.543968361802399 7.553932119 7.058949727 Calling exit ...