Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.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.0009688/0.0009688, 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.001184/0.001184, allocations: 170.3 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.9489/0.9489, 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.7736/0.7736, allocations: 154.6 MB / 413.7 MB, free: 0.8398 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.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion,fileNamePrefix="IDEAS_dev_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.803e-06/1.803e-06, allocations: 0 / 0.618 GB, free: 13.84 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.805e-05/2.986e-05, allocations: 6.281 kB / 0.618 GB, free: 13.83 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4948/0.4949, allocations: 130.4 MB / 0.7453 GB, free: 19.89 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0001397/0.495, allocations: 60.23 kB / 0.7454 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.846e-05/0.495, allocations: 0 / 0.7454 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001398/0.4952, allocations: 5.203 kB / 0.7454 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 8.498e-05/0.4952, allocations: 6.188 kB / 0.7454 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007885/0.496, allocations: 218.6 kB / 0.7456 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 9.685e-05/0.4961, allocations: 41.31 kB / 0.7456 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 4.113e-05/0.4962, allocations: 2.031 kB / 0.7456 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 5.069e-05/0.4962, allocations: 15.61 kB / 0.7457 GB, free: 19.74 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 7.429e-05/0.4963, allocations: 17.84 kB / 0.7457 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.546e-05/0.4963, allocations: 1.531 kB / 0.7457 GB, free: 19.73 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002703/0.4966, allocations: 163.4 kB / 0.7458 GB, free: 19.66 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 5.026e-05/0.4966, allocations: 18.14 kB / 0.7458 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.103e-05/0.4967, allocations: 5.484 kB / 0.7459 GB, free: 19.65 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002422/0.4969, allocations: 111.2 kB / 0.746 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.162e-06/0.4969, allocations: 0 / 0.746 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.385e-06/0.4969, allocations: 4 kB / 0.746 GB, free: 19.62 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.532e-06/0.4969, allocations: 1.125 kB / 0.746 GB, free: 19.62 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.0003132/0.4972, allocations: 266.9 kB / 0.7462 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.4973, allocations: 11.91 kB / 0.7462 GB, free: 19.35 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.48e-05/0.4973, allocations: 30.75 kB / 0.7463 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002435/0.4975, allocations: 26.67 kB / 0.7463 GB, free: 19.31 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.974e-05/0.4976, allocations: 105.4 kB / 0.7464 GB, free: 19.19 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.362e-05/0.4976, allocations: 54.27 kB / 0.7464 GB, free: 19.12 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.546e-06/0.4976, allocations: 13.28 kB / 0.7464 GB, free: 19.11 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.4978, allocations: 73.72 kB / 0.7465 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.4978, allocations: 0 / 0.7465 GB, free: 19.05 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.4978, allocations: 4 kB / 0.7465 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.4978, allocations: 3.312 kB / 0.7465 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.466e-05/0.4978, allocations: 20.61 kB / 0.7465 GB, free: 19.04 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002452/0.4981, allocations: 229.4 kB / 0.7468 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.329e-05/0.4981, allocations: 20.44 kB / 0.7468 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.665e-05/0.4981, allocations: 11.61 kB / 0.7468 GB, free: 18.76 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 8.959e-05/0.4982, allocations: 22.59 kB / 0.7468 GB, free: 18.75 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.486e-05/0.4982, allocations: 35.03 kB / 0.7468 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 9.12e-07/0.4982, allocations: 0 / 0.7468 GB, free: 18.71 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001696/0.4984, allocations: 49.98 kB / 0.7469 GB, free: 18.68 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.854e-05/0.4984, allocations: 52.53 kB / 0.7469 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.491e-05/0.4985, allocations: 102.8 kB / 0.747 GB, free: 18.52 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.414e-06/0.4985, allocations: 27.11 kB / 0.7471 GB, free: 18.48 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.273e-05/0.4985, allocations: 90.27 kB / 0.7472 GB, free: 18.39 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.032e-06/0.4985, allocations: 5.266 kB / 0.7472 GB, free: 18.39 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.369e-05/0.4985, allocations: 17.97 kB / 0.7472 GB, free: 18.37 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.914e-05/0.4986, allocations: 318.1 kB / 0.7475 GB, free: 18.05 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.172e-05/0.4986, allocations: 7.016 kB / 0.7475 GB, free: 18.05 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.04e-05/0.4986, allocations: 26.17 kB / 0.7475 GB, free: 18.02 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.038e-05/0.4986, allocations: 30.02 kB / 0.7475 GB, free: 18 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.4986, allocations: 0 / 0.7475 GB, free: 18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 5.148e-05/0.4987, allocations: 60.86 kB / 0.7476 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.4987, allocations: 9.5 kB / 0.7476 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.4987, allocations: 1.188 kB / 0.7476 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.4987, allocations: 1.734 kB / 0.7476 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.096e-05/0.4987, allocations: 10.03 kB / 0.7476 GB, free: 17.94 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/0.4988, allocations: 1.75 kB / 0.7476 GB, free: 17.94 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.759e-05/0.4988, allocations: 1.062 kB / 0.7476 GB, free: 17.94 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.502e-06/0.4988, allocations: 6.328 kB / 0.7476 GB, free: 17.94 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.351e-05/0.4988, allocations: 123.1 kB / 0.7477 GB, free: 17.81 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.325e-05/0.4988, allocations: 5.5 kB / 0.7478 GB, free: 17.81 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.689e-05/0.4989, allocations: 4.75 kB / 0.7478 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.4989, allocations: 0.5156 kB / 0.7478 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.4989, allocations: 1.094 kB / 0.7478 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.4989, allocations: 0.5625 kB / 0.7478 GB, free: 17.8 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.499, allocations: 342.2 kB / 0.7481 GB, free: 17.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.499, allocations: 0 / 0.7481 GB, free: 17.44 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.076e-05/0.499, allocations: 4.484 kB / 0.7481 GB, free: 17.44 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.499, allocations: 1.062 kB / 0.7481 GB, free: 17.44 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.499, allocations: 0 / 0.7481 GB, free: 17.44 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.499, allocations: 9.781 kB / 0.7481 GB, free: 17.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.263e-06/0.499, allocations: 0.9688 kB / 0.7481 GB, free: 17.43 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.001e-05/0.4991, allocations: 74.31 kB / 0.7482 GB, free: 17.35 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.46e-06/0.4991, allocations: 2.906 kB / 0.7482 GB, free: 17.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.083e-05/0.4991, allocations: 1.062 kB / 0.7482 GB, free: 17.35 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.597e-05/0.4991, allocations: 7.969 kB / 0.7482 GB, free: 17.35 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.134e-05/0.4991, allocations: 1.969 kB / 0.7482 GB, free: 17.35 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.4991, allocations: 5 kB / 0.7482 GB, free: 17.34 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.489e-05/0.4992, allocations: 82.48 kB / 0.7483 GB, free: 17.27 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4992, allocations: 0 / 0.7483 GB, free: 17.27 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001238/0.4993, allocations: 9.438 kB / 0.7483 GB, free: 17.27 MB / 0.6355 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.0001675/0.4994, allocations: 0.6055 MB / 0.7489 GB, free: 16.66 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.738e-05/0.4995, allocations: 20.02 kB / 0.7489 GB, free: 16.66 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4995, allocations: 0 / 0.7489 GB, free: 16.66 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.354e-06/0.4995, allocations: 7.969 kB / 0.7489 GB, free: 16.65 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001941/0.4997, allocations: 16.42 kB / 0.7489 GB, free: 16.64 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002775/0.5, allocations: 146.1 kB / 0.7491 GB, free: 16.49 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.832e-05/0.5, allocations: 63.2 kB / 0.7491 GB, free: 16.41 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.925e-05/0.5001, allocations: 5.5 kB / 0.7491 GB, free: 16.41 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.751e-05/0.5001, allocations: 14.72 kB / 0.7491 GB, free: 16.41 MB / 0.6355 GB Notification: Performance of SimCode: time 3.71e-07/0.5001, allocations: 3.938 kB / 0.7491 GB, free: 16.4 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01818/0.5183, allocations: 2.127 MB / 0.7512 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.85/7.368, allocations: 8.906 kB / 0.7512 GB, free: 15.52 MB / 0.6355 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Media_Examples_AirTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.316608774475753] Failed to read output from testmodel.py, exit status != 0: 7.452394797466695 7.465723559 6.966595503 Calling exit ...