Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.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.001501/0.001501, allocations: 112.3 kB / 18.7 MB, free: 3.145 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.008692/0.008692, allocations: 180 kB / 21.94 MB, free: 5.074 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.506/1.506, allocations: 225.6 MB / 250.7 MB, free: 13.31 MB / 206.1 MB " [Timeout remaining time 178] 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 1.059/1.059, allocations: 175.8 MB / 481.6 MB, free: 7.797 MB / 382.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: translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") translateModel(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002075/0.002075, allocations: 68.52 kB / 0.67 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5733/0.5754, allocations: 94.52 MB / 0.7623 GB, free: 9.93 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion): time 0.005491/0.5808, allocations: 4.065 MB / 0.7663 GB, free: 7.613 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0001862/0.581, allocations: 154.9 kB / 0.7665 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.081e-05/0.5811, allocations: 0 / 0.7665 GB, free: 7.508 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001111/0.5812, allocations: 7.453 kB / 0.7665 GB, free: 7.504 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.65e-05/0.5812, allocations: 12.53 kB / 0.7665 GB, free: 7.496 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003298/0.5816, allocations: 82.77 kB / 0.7666 GB, free: 7.457 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 9.121e-05/0.5817, allocations: 38.17 kB / 0.7666 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.473e-05/0.5817, allocations: 2.016 kB / 0.7666 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 4.007e-05/0.5818, allocations: 11.61 kB / 0.7666 GB, free: 7.441 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 7.466e-05/0.5818, allocations: 22.5 kB / 0.7666 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.5818, allocations: 0 / 0.7666 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001973/0.582, allocations: 64.27 kB / 0.7667 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.421e-05/0.5821, allocations: 4.094 kB / 0.7667 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.898e-05/0.5821, allocations: 14.78 kB / 0.7667 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001308/0.5822, allocations: 43.94 kB / 0.7668 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.5822, allocations: 0 / 0.7668 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.173e-06/0.5822, allocations: 1.094 kB / 0.7668 GB, free: 7.387 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.5823, allocations: 0 / 0.7668 GB, free: 7.387 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003415/0.5826, allocations: 339.9 kB / 0.7671 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.5826, allocations: 14.17 kB / 0.7671 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.119e-05/0.5827, allocations: 6.062 kB / 0.7671 GB, free: 7.02 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.759e-05/0.5827, allocations: 162.9 kB / 0.7673 GB, free: 6.824 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.204e-05/0.5828, allocations: 27.45 kB / 0.7673 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.064e-05/0.5828, allocations: 3.234 kB / 0.7673 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001191/0.5829, allocations: 49.17 kB / 0.7673 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.5829, allocations: 1.156 kB / 0.7673 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.583, allocations: 4 kB / 0.7673 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.96e-05/0.583, allocations: 2.047 kB / 0.7673 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.527e-05/0.583, allocations: 12.53 kB / 0.7673 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003686/0.5834, allocations: 339.6 kB / 0.7677 GB, free: 6.375 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.069e-05/0.5834, allocations: 18.38 kB / 0.7677 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.304e-05/0.5834, allocations: 4.859 kB / 0.7677 GB, free: 6.344 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 6.923e-05/0.5835, allocations: 89.2 kB / 0.7678 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.5835, allocations: 36.06 kB / 0.7678 GB, free: 6.203 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/0.5835, allocations: 4 kB / 0.7678 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001462/0.5837, allocations: 41.03 kB / 0.7679 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.457e-05/0.5837, allocations: 52.53 kB / 0.7679 GB, free: 6.098 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.909e-05/0.5838, allocations: 103.7 kB / 0.768 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.5838, allocations: 26.73 kB / 0.768 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.218e-05/0.5838, allocations: 86.12 kB / 0.7681 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.549e-06/0.5838, allocations: 4 kB / 0.7681 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.821e-05/0.5838, allocations: 23.59 kB / 0.7681 GB, free: 5.852 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.5e-05/0.5839, allocations: 320.8 kB / 0.7684 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.605e-05/0.5839, allocations: 3.234 kB / 0.7684 GB, free: 5.531 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.287e-05/0.5839, allocations: 18.83 kB / 0.7685 GB, free: 5.512 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.075e-05/0.584, allocations: 22.02 kB / 0.7685 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.584, allocations: 1.969 kB / 0.7685 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.945e-05/0.584, allocations: 48.83 kB / 0.7685 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.5841, allocations: 6.109 kB / 0.7685 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.5841, allocations: 1.094 kB / 0.7685 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/0.5841, allocations: 0 / 0.7685 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.817e-05/0.5841, allocations: 14.66 kB / 0.7686 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.5841, allocations: 1 kB / 0.7686 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.023e-05/0.5841, allocations: 5.734 kB / 0.7686 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.728e-06/0.5842, allocations: 2.547 kB / 0.7686 GB, free: 5.441 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (3): * Single equations (assignments): 3 * 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.768e-05/0.5842, allocations: 120.5 kB / 0.7687 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.57e-05/0.5842, allocations: 9.828 kB / 0.7687 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.236e-05/0.5843, allocations: 117.2 kB / 0.7688 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.262e-05/0.5843, allocations: 184.8 kB / 0.769 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.406e-05/0.5844, allocations: 178.1 kB / 0.7691 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.296e-05/0.5844, allocations: 182.5 kB / 0.7693 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001314/0.5845, allocations: 411.4 kB / 0.7697 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.334e-05/0.5845, allocations: 102.9 kB / 0.7698 GB, free: 4.086 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.553e-05/0.5845, allocations: 106.9 kB / 0.7699 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.242e-05/0.5846, allocations: 178.3 kB / 0.7701 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.608e-05/0.5846, allocations: 182.2 kB / 0.7703 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.078e-05/0.5846, allocations: 176.9 kB / 0.7704 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.07e-05/0.5846, allocations: 181.9 kB / 0.7706 GB, free: 3.25 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.025e-05/0.5847, allocations: 310.2 kB / 0.7709 GB, free: 2.93 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 2.974e-05/0.5847, allocations: 188.5 kB / 0.7711 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.577e-05/0.5848, allocations: 182.9 kB / 0.7713 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001259/0.5849, allocations: 114.2 kB / 0.7714 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.701e-05/0.5849, allocations: 181 kB / 0.7715 GB, free: 2.242 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00016/0.5851, allocations: 102.8 kB / 0.7716 GB, free: 18.14 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 5.693e-05/0.5851, allocations: 82.72 kB / 0.7717 GB, free: 18.06 MB / 0.5919 GB Notification: Performance of sort global known variables: time 8e-08/0.5851, allocations: 0 / 0.7717 GB, free: 18.06 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002514/0.5854, allocations: 21.12 kB / 0.7717 GB, free: 18.05 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0002699/0.5857, allocations: 199.2 kB / 0.7719 GB, free: 17.89 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 7.745e-05/0.5857, allocations: 11.11 kB / 0.7719 GB, free: 17.88 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/0.5857, allocations: 0 / 0.7719 GB, free: 17.88 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/0.5857, allocations: 1.312 kB / 0.7719 GB, free: 17.88 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004488/0.5862, allocations: 462.8 kB / 0.7724 GB, free: 17.43 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002833/0.5865, allocations: 214.3 kB / 0.7726 GB, free: 17.21 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003259/0.5868, allocations: 0.6733 MB / 0.7732 GB, free: 16.52 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.231e-05/0.5868, allocations: 10.58 kB / 0.7732 GB, free: 16.51 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.5868, allocations: 3.938 kB / 0.7732 GB, free: 16.51 MB / 0.5919 GB Notification: Performance of Templates: time 0.002367/0.5892, allocations: 0.7487 MB / 0.774 GB, free: 16.47 MB / 0.5919 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; mkfifo IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe >> ../files/IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.sim & ./IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Media.Examples.WaterTemperatureEnthalpyInversion.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.822102119913325] Failed to read output from testmodel.py, exit status != 0: 0.5975169199518859 0.610472469 0.025281204 Calling exit ...