Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.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.001706/0.001706, allocations: 115.7 kB / 17.08 MB, free: 5.977 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.001981/0.001981, allocations: 194.2 kB / 20.03 MB, free: 3.047 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.489/1.489, allocations: 222.9 MB / 245.7 MB, free: 4.219 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/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.216/1.216, allocations: 173.4 MB / 471.3 MB, free: 6.652 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.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 67.48 kB / 0.649 GB, free: 22.77 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2054/0.2074, allocations: 89.53 MB / 0.7364 GB, free: 3.617 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.705/0.9124, allocations: 169.4 MB / 0.9019 GB, free: 15.98 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.008535/0.921, allocations: 7.148 MB / 0.9089 GB, free: 15.41 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006586/0.9217, allocations: 16.31 kB / 0.9089 GB, free: 15.4 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.000612/0.9223, allocations: 173.5 kB / 0.9091 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.004015/0.9264, allocations: 1.254 MB / 0.9103 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001962/0.9284, allocations: 0.6243 MB / 0.9109 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.001193/0.9296, allocations: 0.7552 MB / 0.9116 GB, free: 14.86 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005205/0.9301, allocations: 299.5 kB / 0.9119 GB, free: 14.82 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001826/0.932, allocations: 0.7103 MB / 0.9126 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008913/0.9329, allocations: 421.8 kB / 0.913 GB, free: 14.67 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 5.382e-05/0.9329, allocations: 29.69 kB / 0.913 GB, free: 14.67 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002627/0.9356, allocations: 1.24 MB / 0.9143 GB, free: 14.57 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001478/0.9357, allocations: 112.5 kB / 0.9144 GB, free: 14.57 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0002233/0.936, allocations: 179.2 kB / 0.9145 GB, free: 14.57 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001978/0.938, allocations: 0.8952 MB / 0.9154 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.938, allocations: 0 / 0.9154 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.894e-06/0.938, allocations: 0 / 0.9154 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.158e-05/0.938, allocations: 0 / 0.9154 GB, free: 14.52 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 65 * Number of variables: 65 Notification: Performance of Generate backend data structure: time 0.001165/0.9392, allocations: 0.712 MB / 0.9161 GB, free: 14 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.298e-05/0.9392, allocations: 10.12 kB / 0.9161 GB, free: 14 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.9402, allocations: 136.9 kB / 0.9162 GB, free: 13.97 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005777/0.9408, allocations: 344.1 kB / 0.9166 GB, free: 13.73 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.443e-05/0.9409, allocations: 49.08 kB / 0.9166 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.116e-05/0.941, allocations: 27.28 kB / 0.9166 GB, free: 13.7 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006539/0.9416, allocations: 367.8 kB / 0.917 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.9417, allocations: 5.312 kB / 0.917 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.415e-05/0.9417, allocations: 10.94 kB / 0.917 GB, free: 13.61 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.346e-05/0.9417, allocations: 9.438 kB / 0.917 GB, free: 13.6 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000498/0.9422, allocations: 272.7 kB / 0.9173 GB, free: 13.6 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001972/0.9442, allocations: 1.494 MB / 0.9187 GB, free: 12.6 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003884/0.9446, allocations: 201.1 kB / 0.9189 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001977/0.9448, allocations: 111 kB / 0.919 GB, free: 12.56 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001009/0.9458, allocations: 0.509 MB / 0.9195 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.552e-05/0.9459, allocations: 36.98 kB / 0.9196 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=15): time 1.563e-06/0.9459, allocations: 0 / 0.9196 GB, free: 12.04 MB / 0.6856 GB Notification: Performance of matching and sorting (n=15): time 0.0009198/0.9468, allocations: 354.4 kB / 0.9199 GB, free: 11.99 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.648e-05/0.9469, allocations: 58.8 kB / 0.92 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003211/0.9472, allocations: 317.7 kB / 0.9203 GB, free: 11.82 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.486e-05/0.9472, allocations: 30.8 kB / 0.9203 GB, free: 11.79 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.9474, allocations: 186.9 kB / 0.9205 GB, free: 11.68 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.891e-05/0.9474, allocations: 52.44 kB / 0.9205 GB, free: 11.64 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.469e-05/0.9475, allocations: 53.59 kB / 0.9206 GB, free: 11.62 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001743/0.9477, allocations: 341.7 kB / 0.9209 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.9479, allocations: 86.73 kB / 0.921 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002469/0.9481, allocations: 148.5 kB / 0.9211 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003931/0.9486, allocations: 238.5 kB / 0.9214 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.9486, allocations: 0 / 0.9214 GB, free: 11.18 MB / 0.6856 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000533/0.9491, allocations: 284.7 kB / 0.9216 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.9491, allocations: 5.25 kB / 0.9216 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.9491, allocations: 2.688 kB / 0.9216 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.9492, allocations: 2.906 kB / 0.9216 GB, free: 11.12 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002183/0.9494, allocations: 49.31 kB / 0.9217 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.393e-06/0.9494, allocations: 3.5 kB / 0.9217 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002128/0.9496, allocations: 29.27 kB / 0.9217 GB, free: 11.1 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.485e-05/0.9497, allocations: 8.125 kB / 0.9217 GB, free: 11.1 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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 (20): * Single equations (assignments): 20 * 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.0001823/0.9499, allocations: 157.6 kB / 0.9219 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.95, allocations: 33.08 kB / 0.9219 GB, free: 10.96 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006623/0.9506, allocations: 315.4 kB / 0.9222 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.9506, allocations: 0 / 0.9222 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.9507, allocations: 0 / 0.9222 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/0.9507, allocations: 2.484 kB / 0.9222 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001285/0.952, allocations: 0.8111 MB / 0.923 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.952, allocations: 0 / 0.923 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001798/0.9522, allocations: 42.41 kB / 0.923 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.9522, allocations: 6.469 kB / 0.923 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.9522, allocations: 2.875 kB / 0.923 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.9522, allocations: 3.75 kB / 0.923 GB, free: 10.52 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.837e-06/0.9522, allocations: 6.531 kB / 0.9231 GB, free: 10.51 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005915/0.9528, allocations: 404.7 kB / 0.9234 GB, free: 10.3 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001478/0.953, allocations: 138.7 kB / 0.9236 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.523e-05/0.953, allocations: 6.25 kB / 0.9236 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002238/0.9533, allocations: 19.17 kB / 0.9236 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.574e-05/0.9533, allocations: 12.58 kB / 0.9236 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.702e-05/0.9533, allocations: 18.17 kB / 0.9236 GB, free: 10.18 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002101/0.9536, allocations: 226.8 kB / 0.9238 GB, free: 10.1 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9536, allocations: 3.938 kB / 0.9238 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0005498/0.9541, allocations: 120.2 kB / 0.924 GB, free: 10.07 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (16): * Single equations (assignments): 16 * 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.0006038/0.9547, allocations: 230.4 kB / 0.9242 GB, free: 9.957 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004847/0.9552, allocations: 221.7 kB / 0.9244 GB, free: 9.945 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.9552, allocations: 0 / 0.9244 GB, free: 9.945 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000212/0.9555, allocations: 114.8 kB / 0.9245 GB, free: 9.938 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000849/0.9563, allocations: 166.4 kB / 0.9247 GB, free: 9.91 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.9574, allocations: 0.6273 MB / 0.9253 GB, free: 9.559 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004227/0.9579, allocations: 0.7797 MB / 0.926 GB, free: 8.859 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.958, allocations: 34.22 kB / 0.9261 GB, free: 8.855 MB / 0.6856 GB Notification: Performance of SimCode: time 2.21e-07/0.958, allocations: 2.188 kB / 0.9261 GB, free: 8.855 MB / 0.6856 GB Notification: Performance of Templates: time 0.009644/0.9676, allocations: 6.275 MB / 0.9322 GB, free: 6.375 MB / 0.6856 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.98564613214694] Failed to read output from testmodel.py, exit status != 0: 0.9740472801495343 0.985864773 0.045445432 Calling exit ...