Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.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.001589/0.001589, allocations: 107.2 kB / 17.12 MB, free: 6.012 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.001606/0.001606, allocations: 194.7 kB / 20.08 MB, free: 3.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.458/1.458, allocations: 225.6 MB / 248.5 MB, free: 3.641 MB / 190.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/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/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.071/1.071, allocations: 177.8 MB / 481.2 MB, free: 1.496 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: translateModel(IDEAS.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter") translateModel(IDEAS.Fluid.Sensors.Examples.HeatMeter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00193/0.00193, allocations: 68.89 kB / 0.6695 GB, free: 9.234 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2004/0.2024, allocations: 95.07 MB / 0.7623 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.HeatMeter): time 0.02574/0.2281, allocations: 23.44 MB / 0.7852 GB, free: 6.168 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.008121/0.2362, allocations: 5.112 MB / 0.7902 GB, free: 1.047 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009342/0.2372, allocations: 27.81 kB / 0.7902 GB, free: 1.02 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008956/0.2381, allocations: 290 kB / 0.7905 GB, free: 0.7344 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00232/0.2404, allocations: 0.8281 MB / 0.7913 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002079/0.2425, allocations: 0.7863 MB / 0.7921 GB, free: 15.12 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002396/0.2449, allocations: 1.617 MB / 0.7937 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007098/0.2456, allocations: 417.5 kB / 0.7941 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001931/0.2475, allocations: 0.716 MB / 0.7948 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006886/0.2482, allocations: 473.9 kB / 0.7952 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.575e-05/0.2483, allocations: 44 kB / 0.7952 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001156/0.2494, allocations: 0.4913 MB / 0.7957 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001689/0.2496, allocations: 151.4 kB / 0.7959 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000342/0.2499, allocations: 314.5 kB / 0.7962 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001476/0.2514, allocations: 0.9264 MB / 0.7971 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2514, allocations: 0 / 0.7971 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2514, allocations: 0 / 0.7971 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.045e-05/0.2514, allocations: 0 / 0.7971 GB, free: 9.98 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001436/0.2529, allocations: 0.9106 MB / 0.798 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.932e-05/0.2529, allocations: 16.03 kB / 0.798 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002254/0.2531, allocations: 68.55 kB / 0.798 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.2542, allocations: 0.5685 MB / 0.7986 GB, free: 8.328 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.067e-05/0.2542, allocations: 33 kB / 0.7986 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.887e-05/0.2543, allocations: 47.98 kB / 0.7987 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006972/0.255, allocations: 436.7 kB / 0.7991 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.871e-05/0.255, allocations: 3.984 kB / 0.7991 GB, free: 7.797 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.158e-05/0.2551, allocations: 16 kB / 0.7991 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.373e-05/0.2551, allocations: 8 kB / 0.7991 GB, free: 7.773 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004984/0.2556, allocations: 299.8 kB / 0.7994 GB, free: 7.484 MB / 0.6075 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002818/0.2584, allocations: 1.923 MB / 0.8013 GB, free: 5.43 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005206/0.2589, allocations: 244.9 kB / 0.8015 GB, free: 5.184 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001808/0.2591, allocations: 112.9 kB / 0.8016 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009192/0.26, allocations: 0.8544 MB / 0.8025 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.2601, allocations: 30.56 kB / 0.8025 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=26): time 2.194e-06/0.2601, allocations: 0 / 0.8025 GB, free: 3.992 MB / 0.6075 GB Notification: Performance of matching and sorting (n=26): time 0.0007456/0.2608, allocations: 383.5 kB / 0.8029 GB, free: 3.613 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/0.2609, allocations: 55.41 kB / 0.8029 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005776/0.2614, allocations: 470.1 kB / 0.8034 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.638e-05/0.2615, allocations: 33.7 kB / 0.8034 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002229/0.2617, allocations: 264.3 kB / 0.8036 GB, free: 2.773 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000102/0.2618, allocations: 103.1 kB / 0.8037 GB, free: 2.672 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001233/0.2619, allocations: 74.02 kB / 0.8038 GB, free: 2.594 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000177/0.2621, allocations: 354.8 kB / 0.8041 GB, free: 2.238 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.2623, allocations: 104.6 kB / 0.8042 GB, free: 2.137 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002421/0.2625, allocations: 160.1 kB / 0.8044 GB, free: 1.957 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004073/0.2629, allocations: 286.6 kB / 0.8047 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.2629, allocations: 0 / 0.8047 GB, free: 1.652 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006087/0.2635, allocations: 370 kB / 0.805 GB, free: 1.285 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.236e-05/0.2635, allocations: 11.94 kB / 0.805 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2635, allocations: 3.938 kB / 0.805 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.093e-05/0.2636, allocations: 4 kB / 0.805 GB, free: 1.266 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002905/0.2639, allocations: 75.89 kB / 0.8051 GB, free: 1.191 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.043e-05/0.2639, allocations: 7.984 kB / 0.8051 GB, free: 1.184 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002673/0.2641, allocations: 35.78 kB / 0.8052 GB, free: 1.148 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.176e-05/0.2642, allocations: 23.97 kB / 0.8052 GB, free: 1.125 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * 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 (39): * Single equations (assignments): 39 * 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 0.00023/0.2644, allocations: 178.7 kB / 0.8054 GB, free: 0.9414 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.794e-05/0.2645, allocations: 59.55 kB / 0.8054 GB, free: 0.8828 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008235/0.2653, allocations: 476.8 kB / 0.8059 GB, free: 424 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.765e-05/0.2653, allocations: 11.98 kB / 0.8059 GB, free: 412 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.2654, allocations: 0 / 0.8059 GB, free: 412 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006114/0.266, allocations: 0.561 MB / 0.8064 GB, free: 15.77 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001901/0.2679, allocations: 1.156 MB / 0.8076 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.823e-06/0.2679, allocations: 4 kB / 0.8076 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002241/0.2681, allocations: 55.84 kB / 0.8076 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.2681, allocations: 0 / 0.8076 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.65e-05/0.2681, allocations: 12 kB / 0.8076 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.2681, allocations: 0 / 0.8076 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.2681, allocations: 4 kB / 0.8076 GB, free: 14.45 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009157/0.2691, allocations: 0.6759 MB / 0.8083 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002377/0.2693, allocations: 172.7 kB / 0.8084 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.987e-05/0.2694, allocations: 11.98 kB / 0.8085 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002519/0.2696, allocations: 12 kB / 0.8085 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.948e-05/0.2697, allocations: 31.84 kB / 0.8085 GB, free: 13.5 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.207e-05/0.2697, allocations: 11.98 kB / 0.8085 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004142/0.2701, allocations: 346.9 kB / 0.8088 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of sort global known variables: time 7e-08/0.2701, allocations: 0 / 0.8088 GB, free: 13.15 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000672/0.2708, allocations: 203.5 kB / 0.809 GB, free: 12.95 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (vol.dynBal.U,senT.T,senHeaFlo.T) * 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 (32): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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.0006776/0.2715, allocations: 304 kB / 0.8093 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005142/0.272, allocations: 272.1 kB / 0.8096 GB, free: 12.39 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.015e-06/0.272, allocations: 4.062 kB / 0.8096 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002355/0.2722, allocations: 152.4 kB / 0.8097 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001452/0.2737, allocations: 337.3 kB / 0.8101 GB, free: 11.91 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001963/0.2756, allocations: 1.104 MB / 0.8111 GB, free: 10.75 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005022/0.2761, allocations: 0.8627 MB / 0.812 GB, free: 9.855 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.2763, allocations: 59.36 kB / 0.812 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of SimCode: time 1.142e-06/0.2763, allocations: 0 / 0.812 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of Templates: time 0.01659/0.2929, allocations: 9.965 MB / 0.8218 GB, free: 15.91 MB / 0.6387 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.HeatMeter.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.466331394010922] Failed to read output from testmodel.py, exit status != 0: 0.30115349098923616 0.31492899700000004 0.060572869 Calling exit ...