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.0007803/0.0007803, allocations: 109.9 kB / 18.93 MB, free: 1.266 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.001076/0.001076, allocations: 218.3 kB / 22.26 MB, free: 3.695 MB / 13.93 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.979/0.979, allocations: 230.6 MB / 256 MB, free: 9.637 MB / 202.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.7852/0.7852, allocations: 203.8 MB / 0.5042 GB, free: 10.73 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0009331/0.0009331, allocations: 71.17 kB / 0.7182 GB, free: 4.398 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5522/0.5532, allocations: 102 MB / 0.8178 GB, free: 1.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.1594/0.7126, allocations: 151.6 MB / 0.9659 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001875/0.7128, allocations: 51.81 kB / 0.966 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.327e-05/0.7128, allocations: 0 / 0.966 GB, free: 13.84 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001861/0.713, allocations: 11.92 kB / 0.966 GB, free: 13.83 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.7131, allocations: 11.92 kB / 0.966 GB, free: 13.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008514/0.7139, allocations: 217.7 kB / 0.9662 GB, free: 13.61 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.514e-05/0.714, allocations: 39.84 kB / 0.9662 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.672e-05/0.7141, allocations: 7.984 kB / 0.9662 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.611e-05/0.7141, allocations: 8 kB / 0.9662 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 8.292e-05/0.7142, allocations: 23.91 kB / 0.9663 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.125e-05/0.7142, allocations: 0 / 0.9663 GB, free: 13.53 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003866/0.7146, allocations: 215.4 kB / 0.9665 GB, free: 13.32 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.49e-05/0.7147, allocations: 3.984 kB / 0.9665 GB, free: 13.31 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.573e-05/0.7147, allocations: 19.92 kB / 0.9665 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000233/0.7149, allocations: 105.9 kB / 0.9666 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.7149, allocations: 0 / 0.9666 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.215e-06/0.7149, allocations: 7.938 kB / 0.9666 GB, free: 13.19 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.316e-06/0.7149, allocations: 0 / 0.9666 GB, free: 13.19 MB / 0.7448 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.0008787/0.7158, allocations: 270.2 kB / 0.9669 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 6.272e-05/0.7159, allocations: 12.03 kB / 0.9669 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.777e-05/0.7159, allocations: 30.75 kB / 0.9669 GB, free: 12.84 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003295/0.7162, allocations: 24.89 kB / 0.9669 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.7164, allocations: 118.2 kB / 0.967 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.362e-05/0.7165, allocations: 51.41 kB / 0.9671 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.085e-05/0.7165, allocations: 8 kB / 0.9671 GB, free: 12.61 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.7166, allocations: 49.67 kB / 0.9671 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.7166, allocations: 0 / 0.9671 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.482e-05/0.7167, allocations: 0 / 0.9671 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.384e-05/0.7167, allocations: 4 kB / 0.9672 GB, free: 12.55 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.201e-05/0.7167, allocations: 23.92 kB / 0.9672 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003899/0.7171, allocations: 232 kB / 0.9674 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.26e-05/0.7172, allocations: 22.58 kB / 0.9674 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.052e-05/0.7172, allocations: 4.859 kB / 0.9674 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001055/0.7173, allocations: 20.05 kB / 0.9674 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.354e-05/0.7173, allocations: 30.56 kB / 0.9675 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.553e-06/0.7173, allocations: 0 / 0.9675 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0002097/0.7175, allocations: 57.62 kB / 0.9675 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.387e-05/0.7176, allocations: 55.34 kB / 0.9676 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.778e-05/0.7177, allocations: 105.8 kB / 0.9677 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.7177, allocations: 25.7 kB / 0.9677 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.016e-05/0.7177, allocations: 84.09 kB / 0.9678 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.342e-06/0.7177, allocations: 3.953 kB / 0.9678 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.626e-05/0.7177, allocations: 17.72 kB / 0.9678 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.197e-05/0.7178, allocations: 322.9 kB / 0.9681 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.437e-05/0.7178, allocations: 4 kB / 0.9681 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.656e-05/0.7179, allocations: 22.77 kB / 0.9681 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.062e-05/0.7179, allocations: 42.5 kB / 0.9682 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.724e-06/0.7179, allocations: 4 kB / 0.9682 GB, free: 11.36 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.092e-05/0.718, allocations: 49.73 kB / 0.9682 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.702e-05/0.718, allocations: 7.984 kB / 0.9682 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.718, allocations: 0 / 0.9682 GB, free: 11.3 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.718, allocations: 7.984 kB / 0.9682 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.244e-05/0.7181, allocations: 7.938 kB / 0.9683 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.7181, allocations: 3.938 kB / 0.9683 GB, free: 11.28 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.789e-05/0.7181, allocations: 7.953 kB / 0.9683 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.997e-06/0.7181, allocations: 3.938 kB / 0.9683 GB, free: 11.27 MB / 0.7448 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 6.589e-05/0.7181, allocations: 121.9 kB / 0.9684 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.447e-05/0.7182, allocations: 0 / 0.9684 GB, free: 11.14 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.12e-05/0.7182, allocations: 11.25 kB / 0.9684 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.7182, allocations: 0 / 0.9684 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.42e-06/0.7182, allocations: 7.938 kB / 0.9684 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.7182, allocations: 0 / 0.9684 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002144/0.7184, allocations: 330.7 kB / 0.9687 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.7184, allocations: 0 / 0.9687 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.555e-05/0.7184, allocations: 11.92 kB / 0.9687 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.7184, allocations: 0 / 0.9687 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.7184, allocations: 0 / 0.9687 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.434e-06/0.7184, allocations: 7.984 kB / 0.9687 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.7184, allocations: 0 / 0.9687 GB, free: 10.72 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.57e-05/0.7185, allocations: 69.98 kB / 0.9688 GB, free: 10.63 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.767e-06/0.7185, allocations: 19.86 kB / 0.9688 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.7185, allocations: 0 / 0.9688 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.259e-05/0.7186, allocations: 4 kB / 0.9688 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.267e-05/0.7186, allocations: 0 / 0.9688 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.515e-06/0.7186, allocations: 0 / 0.9688 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.317e-05/0.7186, allocations: 83.27 kB / 0.9689 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.7186, allocations: 0 / 0.9689 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001299/0.7187, allocations: 8 kB / 0.9689 GB, free: 10.52 MB / 0.7448 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.0003037/0.719, allocations: 0.6094 MB / 0.9695 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.566e-05/0.7191, allocations: 20.09 kB / 0.9695 GB, free: 9.855 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.7191, allocations: 4.062 kB / 0.9695 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.103e-06/0.7191, allocations: 7.938 kB / 0.9695 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002517/0.7194, allocations: 14.17 kB / 0.9696 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003528/0.7197, allocations: 145.4 kB / 0.9697 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001957/0.7199, allocations: 0.6806 MB / 0.9704 GB, free: 8.941 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.711e-05/0.72, allocations: 8.125 kB / 0.9704 GB, free: 8.934 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.538e-05/0.72, allocations: 11.44 kB / 0.9704 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of SimCode: time 7.22e-07/0.72, allocations: 0 / 0.9704 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01925/0.7393, allocations: 1.576 MB / 0.9719 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.66/7.4, allocations: 1.484 kB / 0.9719 GB, free: 7.449 MB / 0.7448 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.413882761029527] Failed to read output from testmodel.py, exit status != 0: 7.477360726101324 7.493009767 6.775620485 Calling exit ...