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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 105.7 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001147/0.001147, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.284/1.284, allocations: 225.6 MB / 249.3 MB, free: 3.199 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9951/0.9951, allocations: 175.7 MB / 480.1 MB, free: 2.816 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.001763/0.001763, allocations: 64.06 kB / 0.6677 GB, free: 11 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1528/0.1546, allocations: 94.53 MB / 0.76 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.AirTemperatureEnthalpyInversion): time 0.4714/0.626, allocations: 148.7 MB / 0.9053 GB, free: 7.582 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0001233/0.6261, allocations: 50.91 kB / 0.9053 GB, free: 7.562 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.992e-05/0.6261, allocations: 0 / 0.9053 GB, free: 7.562 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 9.657e-05/0.6262, allocations: 7.453 kB / 0.9054 GB, free: 7.559 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.817e-05/0.6263, allocations: 19.22 kB / 0.9054 GB, free: 7.551 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000639/0.6269, allocations: 213.8 kB / 0.9056 GB, free: 7.477 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.889e-05/0.627, allocations: 32.34 kB / 0.9056 GB, free: 7.469 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 3.506e-05/0.6271, allocations: 4.797 kB / 0.9056 GB, free: 7.469 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 3.186e-05/0.6271, allocations: 14.66 kB / 0.9056 GB, free: 7.465 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.361e-05/0.6272, allocations: 16.08 kB / 0.9056 GB, free: 7.457 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.6272, allocations: 2.188 kB / 0.9056 GB, free: 7.457 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003956/0.6276, allocations: 218 kB / 0.9059 GB, free: 7.398 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.826e-05/0.6276, allocations: 6.609 kB / 0.9059 GB, free: 7.398 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.847e-05/0.6276, allocations: 18.28 kB / 0.9059 GB, free: 7.391 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0002115/0.6278, allocations: 104.5 kB / 0.906 GB, free: 7.383 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.6278, allocations: 2.531 kB / 0.906 GB, free: 7.383 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.603e-06/0.6278, allocations: 5.469 kB / 0.906 GB, free: 7.379 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.6278, allocations: 0 / 0.906 GB, free: 7.379 MB / 0.6544 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.0003873/0.6282, allocations: 343.7 kB / 0.9063 GB, free: 7.02 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.169e-05/0.6283, allocations: 13.5 kB / 0.9063 GB, free: 7.016 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.373e-05/0.6283, allocations: 32.03 kB / 0.9064 GB, free: 6.977 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002645/0.6286, allocations: 27.64 kB / 0.9064 GB, free: 6.977 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.6287, allocations: 173.2 kB / 0.9065 GB, free: 6.77 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.057e-05/0.6288, allocations: 30.89 kB / 0.9066 GB, free: 6.734 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.111e-05/0.6288, allocations: 1.469 kB / 0.9066 GB, free: 6.734 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.6289, allocations: 48.45 kB / 0.9066 GB, free: 6.703 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.352e-06/0.6289, allocations: 0 / 0.9066 GB, free: 6.703 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.6289, allocations: 4 kB / 0.9066 GB, free: 6.699 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.63e-05/0.6289, allocations: 2.281 kB / 0.9066 GB, free: 6.699 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.755e-05/0.629, allocations: 21.25 kB / 0.9066 GB, free: 6.699 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003298/0.6293, allocations: 266.9 kB / 0.9069 GB, free: 6.426 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 5.068e-05/0.6293, allocations: 18.95 kB / 0.9069 GB, free: 6.402 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.973e-05/0.6294, allocations: 13.08 kB / 0.9069 GB, free: 6.395 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001435/0.6295, allocations: 96.67 kB / 0.907 GB, free: 6.293 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.205e-05/0.6295, allocations: 31.72 kB / 0.9071 GB, free: 6.254 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.012e-06/0.6295, allocations: 0 / 0.9071 GB, free: 6.254 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0002083/0.6297, allocations: 52.41 kB / 0.9071 GB, free: 6.219 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.58e-05/0.6298, allocations: 52.75 kB / 0.9072 GB, free: 6.156 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.682e-05/0.6299, allocations: 109.1 kB / 0.9073 GB, free: 6.051 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.329e-05/0.6299, allocations: 27.91 kB / 0.9073 GB, free: 6.02 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.834e-05/0.6299, allocations: 91 kB / 0.9074 GB, free: 5.934 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 6.803e-06/0.6299, allocations: 5.203 kB / 0.9074 GB, free: 5.93 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.921e-05/0.63, allocations: 19.67 kB / 0.9074 GB, free: 5.914 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.6301, allocations: 312 kB / 0.9077 GB, free: 5.602 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.464e-05/0.6301, allocations: 4.547 kB / 0.9077 GB, free: 5.602 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.921e-05/0.6301, allocations: 27.73 kB / 0.9077 GB, free: 5.574 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.417e-05/0.6302, allocations: 32.33 kB / 0.9078 GB, free: 5.547 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.6302, allocations: 3.938 kB / 0.9078 GB, free: 5.543 MB / 0.6544 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.191e-05/0.6303, allocations: 55.41 kB / 0.9078 GB, free: 5.508 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.6303, allocations: 8.172 kB / 0.9078 GB, free: 5.508 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.6303, allocations: 5.562 kB / 0.9078 GB, free: 5.504 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.043e-05/0.6303, allocations: 0 / 0.9078 GB, free: 5.504 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.877e-05/0.6303, allocations: 5.719 kB / 0.9078 GB, free: 5.504 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.6303, allocations: 5.375 kB / 0.9078 GB, free: 5.5 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.027e-05/0.6304, allocations: 8.516 kB / 0.9078 GB, free: 5.496 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.889e-06/0.6304, allocations: 1.406 kB / 0.9078 GB, free: 5.496 MB / 0.6544 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 7.466e-05/0.6305, allocations: 114.3 kB / 0.908 GB, free: 5.379 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.521e-05/0.6305, allocations: 1.312 kB / 0.908 GB, free: 5.379 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.927e-05/0.6305, allocations: 8.094 kB / 0.908 GB, free: 5.375 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.6305, allocations: 5.344 kB / 0.908 GB, free: 5.371 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/0.6305, allocations: 10.41 kB / 0.908 GB, free: 5.363 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.813e-06/0.6305, allocations: 3.938 kB / 0.908 GB, free: 5.359 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002989/0.6308, allocations: 354.8 kB / 0.9083 GB, free: 4.977 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.6308, allocations: 1.156 kB / 0.9083 GB, free: 4.977 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.694e-05/0.6308, allocations: 7.25 kB / 0.9083 GB, free: 4.973 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.467e-06/0.6308, allocations: 3.938 kB / 0.9083 GB, free: 4.969 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.6308, allocations: 4.969 kB / 0.9083 GB, free: 4.965 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.6308, allocations: 1.062 kB / 0.9083 GB, free: 4.965 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.6308, allocations: 1 kB / 0.9083 GB, free: 4.965 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.668e-05/0.6309, allocations: 70.67 kB / 0.9084 GB, free: 4.895 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 5.062e-05/0.631, allocations: 86.22 kB / 0.9085 GB, free: 4.793 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.631, allocations: 1.094 kB / 0.9085 GB, free: 4.793 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.408e-05/0.6311, allocations: 8.953 kB / 0.9085 GB, free: 4.789 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.478e-06/0.6311, allocations: 1.188 kB / 0.9085 GB, free: 4.789 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.104e-06/0.6311, allocations: 1.219 kB / 0.9085 GB, free: 4.789 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.347e-05/0.6311, allocations: 80.84 kB / 0.9086 GB, free: 4.715 MB / 0.6544 GB Notification: Performance of sort global known variables: time 8e-08/0.6311, allocations: 1.031 kB / 0.9086 GB, free: 4.715 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0001825/0.6313, allocations: 13.53 kB / 0.9086 GB, free: 4.711 MB / 0.6544 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.0003841/0.6317, allocations: 0.6086 MB / 0.9092 GB, free: 4.109 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 7.734e-05/0.6318, allocations: 14.62 kB / 0.9092 GB, free: 4.105 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.6318, allocations: 0 / 0.9092 GB, free: 4.105 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 1.01e-05/0.6318, allocations: 9.984 kB / 0.9092 GB, free: 4.105 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001912/0.632, allocations: 6.219 kB / 0.9092 GB, free: 4.102 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003355/0.6323, allocations: 158.6 kB / 0.9094 GB, free: 3.938 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002817/0.6326, allocations: 0.6754 MB / 0.91 GB, free: 3.242 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 4.541e-05/0.6326, allocations: 13.69 kB / 0.91 GB, free: 3.234 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.726e-05/0.6327, allocations: 12.97 kB / 0.9101 GB, free: 3.227 MB / 0.6544 GB Notification: Performance of SimCode: time 3.11e-07/0.6327, allocations: 0 / 0.9101 GB, free: 3.227 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0214/0.6541, allocations: 1.424 MB / 0.9114 GB, free: 2.875 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.01/7.664, allocations: 12.34 kB / 0.9115 GB, free: 2.871 MB / 0.6544 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 --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: 11.046561655006371]