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.0008816/0.0008816, 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.0009231/0.0009231, 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.8814/0.8814, allocations: 177.1 MB / 202.8 MB, free: 5.766 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.7065/0.7065, allocations: 154.5 MB / 413.7 MB, free: 0.8438 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.823e-06/1.823e-06, allocations: 3.938 kB / 0.618 GB, free: 13.82 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.459e-05/1.641e-05, allocations: 5.234 kB / 0.618 GB, free: 13.81 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4401/0.4401, allocations: 130.4 MB / 0.7453 GB, free: 19.9 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.0001206/0.4402, allocations: 48.44 kB / 0.7454 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.325e-05/0.4402, allocations: 1.125 kB / 0.7454 GB, free: 19.88 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0001154/0.4404, allocations: 5.297 kB / 0.7454 GB, free: 19.87 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 7.09e-05/0.4404, allocations: 17.09 kB / 0.7454 GB, free: 19.86 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006482/0.4411, allocations: 208 kB / 0.7456 GB, free: 19.77 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 7.81e-05/0.4412, allocations: 37.64 kB / 0.7456 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 3.672e-05/0.4412, allocations: 2.078 kB / 0.7456 GB, free: 19.76 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 4.59e-05/0.4412, allocations: 26.53 kB / 0.7457 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 6.407e-05/0.4413, allocations: 9.172 kB / 0.7457 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 1.181e-05/0.4413, allocations: 1.188 kB / 0.7457 GB, free: 19.75 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002844/0.4416, allocations: 172.7 kB / 0.7458 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 4.783e-05/0.4416, allocations: 10.44 kB / 0.7458 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 2.055e-05/0.4417, allocations: 5.938 kB / 0.7458 GB, free: 19.67 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0002123/0.4419, allocations: 114.5 kB / 0.746 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.4419, allocations: 0 / 0.746 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.393e-06/0.4419, allocations: 0 / 0.746 GB, free: 19.64 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.66e-06/0.4419, allocations: 1.094 kB / 0.746 GB, free: 19.64 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.0002926/0.4422, allocations: 263.8 kB / 0.7462 GB, free: 19.37 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.027e-05/0.4422, allocations: 14.31 kB / 0.7462 GB, free: 19.37 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.811e-05/0.4423, allocations: 32.62 kB / 0.7463 GB, free: 19.33 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002634/0.4425, allocations: 34.25 kB / 0.7463 GB, free: 19.32 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.419e-05/0.4426, allocations: 105.1 kB / 0.7464 GB, free: 19.2 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.698e-05/0.4426, allocations: 53.94 kB / 0.7464 GB, free: 19.13 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.707e-06/0.4426, allocations: 5.188 kB / 0.7464 GB, free: 19.13 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001187/0.4428, allocations: 73.75 kB / 0.7465 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.4428, allocations: 0 / 0.7465 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.4428, allocations: 1.062 kB / 0.7465 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.628e-05/0.4428, allocations: 2.828 kB / 0.7465 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.127e-05/0.4428, allocations: 20.89 kB / 0.7465 GB, free: 19.06 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002665/0.4431, allocations: 240.4 kB / 0.7468 GB, free: 18.8 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 4.516e-05/0.4432, allocations: 20.75 kB / 0.7468 GB, free: 18.78 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.77e-05/0.4432, allocations: 12.39 kB / 0.7468 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.839e-05/0.4433, allocations: 13.2 kB / 0.7468 GB, free: 18.77 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.69e-05/0.4433, allocations: 32.75 kB / 0.7468 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.4433, allocations: 3.281 kB / 0.7468 GB, free: 18.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001794/0.4435, allocations: 58.3 kB / 0.7469 GB, free: 18.69 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.824e-05/0.4435, allocations: 51.41 kB / 0.7469 GB, free: 18.62 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.303e-05/0.4435, allocations: 107.3 kB / 0.747 GB, free: 18.52 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.584e-06/0.4435, allocations: 26.86 kB / 0.7471 GB, free: 18.49 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.28e-05/0.4436, allocations: 89.98 kB / 0.7472 GB, free: 18.4 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 6.923e-06/0.4436, allocations: 9.906 kB / 0.7472 GB, free: 18.39 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.374e-05/0.4436, allocations: 14.11 kB / 0.7472 GB, free: 18.38 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 2.81e-05/0.4436, allocations: 320.8 kB / 0.7475 GB, free: 18.05 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.324e-05/0.4436, allocations: 4.859 kB / 0.7475 GB, free: 18.05 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.97e-05/0.4436, allocations: 21.75 kB / 0.7475 GB, free: 18.03 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.156e-05/0.4437, allocations: 36.59 kB / 0.7475 GB, free: 18 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4437, allocations: 1.125 kB / 0.7476 GB, free: 18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 4.942e-05/0.4437, allocations: 56.31 kB / 0.7476 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.4437, allocations: 5.656 kB / 0.7476 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.4437, allocations: 1.062 kB / 0.7476 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.262e-05/0.4438, allocations: 1.844 kB / 0.7476 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.088e-05/0.4438, allocations: 6.25 kB / 0.7476 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.4438, allocations: 5.891 kB / 0.7476 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.588e-05/0.4438, allocations: 5.219 kB / 0.7476 GB, free: 17.95 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.779e-06/0.4438, allocations: 2.188 kB / 0.7476 GB, free: 17.95 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 3.92e-05/0.4439, allocations: 121.8 kB / 0.7477 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.402e-05/0.4439, allocations: 2.938 kB / 0.7477 GB, free: 17.82 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.545e-05/0.4439, allocations: 8.062 kB / 0.7478 GB, free: 17.81 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.4439, allocations: 1.156 kB / 0.7478 GB, free: 17.81 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.4439, allocations: 0 / 0.7478 GB, free: 17.81 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.4439, allocations: 1.875 kB / 0.7478 GB, free: 17.81 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001391/0.444, allocations: 337.7 kB / 0.7481 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-06/0.444, allocations: 1.094 kB / 0.7481 GB, free: 17.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.089e-05/0.4441, allocations: 8.047 kB / 0.7481 GB, free: 17.44 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.4441, allocations: 4.594 kB / 0.7481 GB, free: 17.44 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.4441, allocations: 4.75 kB / 0.7481 GB, free: 17.44 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.455e-06/0.4441, allocations: 4.938 kB / 0.7481 GB, free: 17.43 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.4441, allocations: 1.828 kB / 0.7481 GB, free: 17.43 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.426e-05/0.4441, allocations: 67.5 kB / 0.7482 GB, free: 17.36 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.781e-06/0.4441, allocations: 8.172 kB / 0.7482 GB, free: 17.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.279e-05/0.4441, allocations: 1.891 kB / 0.7482 GB, free: 17.36 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.818e-05/0.4442, allocations: 11.75 kB / 0.7482 GB, free: 17.35 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.33e-05/0.4442, allocations: 5.781 kB / 0.7482 GB, free: 17.35 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.022e-06/0.4442, allocations: 1.25 kB / 0.7482 GB, free: 17.35 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 1.812e-05/0.4442, allocations: 82.25 kB / 0.7483 GB, free: 17.27 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5e-08/0.4442, allocations: 0 / 0.7483 GB, free: 17.27 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001337/0.4443, allocations: 9.938 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.0001721/0.4445, allocations: 0.5975 MB / 0.7489 GB, free: 16.67 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 6.846e-05/0.4446, allocations: 20.19 kB / 0.7489 GB, free: 16.66 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.4446, allocations: 0 / 0.7489 GB, free: 16.66 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.286e-06/0.4446, allocations: 7.625 kB / 0.7489 GB, free: 16.66 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/0.4448, allocations: 10.67 kB / 0.7489 GB, free: 16.66 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000267/0.4451, allocations: 149.1 kB / 0.749 GB, free: 16.5 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.864e-05/0.4451, allocations: 60.7 kB / 0.7491 GB, free: 16.43 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.753e-05/0.4451, allocations: 14.64 kB / 0.7491 GB, free: 16.42 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.582e-05/0.4451, allocations: 10.5 kB / 0.7491 GB, free: 16.42 MB / 0.6355 GB Notification: Performance of SimCode: time 5.61e-07/0.4451, allocations: 0 / 0.7491 GB, free: 16.42 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0156/0.4607, allocations: 2.124 MB / 0.7512 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.828/7.289, allocations: 5.188 kB / 0.7512 GB, free: 15.54 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion_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_Examples_AirTemperatureEnthalpyInversion.fmu > IDEAS_dev_IDEAS.Media.Examples.AirTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.099222678691149] Failed to read output from testmodel.py, exit status != 0: 7.368348943069577 7.38246736 6.938638184 Calling exit ...