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.0008999/0.0008999, allocations: 109.9 kB / 18.93 MB, free: 1.27 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.0009418/0.0009418, allocations: 213.8 kB / 22.26 MB, free: 3.703 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.9792/0.9792, allocations: 230.6 MB / 256 MB, free: 9.824 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.7843/0.7843, allocations: 203.8 MB / 0.5042 GB, free: 10.28 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.000875/0.000875, allocations: 75.36 kB / 0.7182 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5389/0.5397, allocations: 102 MB / 0.8178 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.156/0.6957, allocations: 151.6 MB / 0.9659 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001401/0.6959, allocations: 47.72 kB / 0.966 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.079e-05/0.6959, allocations: 4 kB / 0.966 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001416/0.6961, allocations: 0 / 0.966 GB, free: 13.81 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 8.272e-05/0.6961, allocations: 11.92 kB / 0.966 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000793/0.6969, allocations: 231.1 kB / 0.9662 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 9.791e-05/0.697, allocations: 23.92 kB / 0.9662 GB, free: 13.55 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 4.024e-05/0.6971, allocations: 3.984 kB / 0.9662 GB, free: 13.54 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.031e-05/0.6971, allocations: 23.92 kB / 0.9663 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 7.875e-05/0.6972, allocations: 11.88 kB / 0.9663 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.6972, allocations: 4 kB / 0.9663 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004145/0.6976, allocations: 215.4 kB / 0.9665 GB, free: 13.29 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 5.588e-05/0.6977, allocations: 15.98 kB / 0.9665 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.219e-05/0.6977, allocations: 7.938 kB / 0.9665 GB, free: 13.27 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.000234/0.6979, allocations: 121.8 kB / 0.9666 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.6979, allocations: 0 / 0.9666 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6979, allocations: 0 / 0.9666 GB, free: 13.16 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.553e-06/0.698, allocations: 0 / 0.9666 GB, free: 13.16 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.0003604/0.6983, allocations: 262.3 kB / 0.9669 GB, free: 12.87 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.6984, allocations: 8.031 kB / 0.9669 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.368e-05/0.6984, allocations: 34.73 kB / 0.9669 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002604/0.6986, allocations: 28.92 kB / 0.9669 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.6988, allocations: 122.2 kB / 0.967 GB, free: 12.65 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.4e-05/0.6988, allocations: 55.34 kB / 0.9671 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.6988, allocations: 0 / 0.9671 GB, free: 12.58 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.699, allocations: 45.69 kB / 0.9671 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.699, allocations: 0 / 0.9671 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.699, allocations: 0 / 0.9671 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.844e-05/0.699, allocations: 7.984 kB / 0.9672 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.151e-05/0.699, allocations: 20 kB / 0.9672 GB, free: 12.5 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003286/0.6994, allocations: 232 kB / 0.9674 GB, free: 12.23 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.368e-05/0.6994, allocations: 26.52 kB / 0.9674 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.424e-05/0.6994, allocations: 12.91 kB / 0.9674 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001224/0.6996, allocations: 16 kB / 0.9674 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.774e-05/0.6996, allocations: 34.56 kB / 0.9675 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.863e-06/0.6996, allocations: 0 / 0.9675 GB, free: 12.12 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001972/0.6998, allocations: 41.69 kB / 0.9675 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.6998, allocations: 67.27 kB / 0.9676 GB, free: 12 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.335e-05/0.6999, allocations: 101.8 kB / 0.9677 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.6999, allocations: 25.83 kB / 0.9677 GB, free: 11.86 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.994e-05/0.7, allocations: 96.09 kB / 0.9678 GB, free: 11.76 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.837e-06/0.7, allocations: 7.938 kB / 0.9678 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.217e-05/0.7, allocations: 13.72 kB / 0.9678 GB, free: 11.73 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.339e-05/0.7001, allocations: 314.8 kB / 0.9681 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.741e-05/0.7001, allocations: 4 kB / 0.9681 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.002e-05/0.7001, allocations: 30.5 kB / 0.9681 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.248e-05/0.7002, allocations: 34.52 kB / 0.9682 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.7002, allocations: 4 kB / 0.9682 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of matching and sorting (n=4) (initialization): time 7.713e-05/0.7002, allocations: 53.62 kB / 0.9682 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.46e-05/0.7003, allocations: 8 kB / 0.9682 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.7003, allocations: 3.938 kB / 0.9682 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.7003, allocations: 0 / 0.9682 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.496e-05/0.7003, allocations: 12.09 kB / 0.9683 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.7004, allocations: 3.938 kB / 0.9683 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.987e-05/0.7004, allocations: 3.953 kB / 0.9683 GB, free: 11.24 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.815e-06/0.7004, allocations: 7.984 kB / 0.9683 GB, free: 11.23 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.747e-05/0.7004, allocations: 109.8 kB / 0.9684 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.867e-05/0.7005, allocations: 4 kB / 0.9684 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.421e-05/0.7005, allocations: 11.27 kB / 0.9684 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.465e-06/0.7005, allocations: 0 / 0.9684 GB, free: 11.1 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.7005, allocations: 3.938 kB / 0.9684 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.025e-06/0.7005, allocations: 4 kB / 0.9684 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002415/0.7007, allocations: 334.7 kB / 0.9687 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.784e-06/0.7007, allocations: 0 / 0.9687 GB, free: 10.71 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.694e-05/0.7008, allocations: 7.938 kB / 0.9687 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.897e-06/0.7008, allocations: 0 / 0.9687 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.425e-06/0.7008, allocations: 0 / 0.9687 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.7008, allocations: 0 / 0.9687 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.7008, allocations: 3.938 kB / 0.9687 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.961e-05/0.7008, allocations: 78 kB / 0.9688 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.947e-06/0.7009, allocations: 3.938 kB / 0.9688 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.593e-05/0.7009, allocations: 4 kB / 0.9688 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.423e-05/0.7009, allocations: 3.984 kB / 0.9688 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.469e-05/0.7009, allocations: 4 kB / 0.9688 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-06/0.7009, allocations: 8.031 kB / 0.9688 GB, free: 10.57 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.506e-05/0.701, allocations: 79.28 kB / 0.9689 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.701, allocations: 0 / 0.9689 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001502/0.7011, allocations: 8 kB / 0.9689 GB, free: 10.49 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.0003528/0.7015, allocations: 0.6133 MB / 0.9695 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001097/0.7016, allocations: 15.92 kB / 0.9695 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.7016, allocations: 4 kB / 0.9695 GB, free: 9.824 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.482e-06/0.7016, allocations: 7.938 kB / 0.9695 GB, free: 9.816 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002764/0.7019, allocations: 6.188 kB / 0.9695 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003977/0.7023, allocations: 149.6 kB / 0.9697 GB, free: 9.625 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005231/0.7028, allocations: 0.6845 MB / 0.9704 GB, free: 8.914 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.471e-05/0.7029, allocations: 12.39 kB / 0.9704 GB, free: 8.902 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.805e-05/0.7029, allocations: 7.438 kB / 0.9704 GB, free: 8.895 MB / 0.7448 GB Notification: Performance of SimCode: time 8.01e-07/0.7029, allocations: 7.938 kB / 0.9704 GB, free: 8.887 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01673/0.7196, allocations: 1.555 MB / 0.9719 GB, free: 7.434 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.872/7.591, allocations: 8.812 kB / 0.9719 GB, free: 7.43 MB / 0.7448 GB " [Timeout remaining time 652] (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.55947663099505] Failed to read output from testmodel.py, exit status != 0: 7.665884434012696 7.680586156 6.979659103 Calling exit ...