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.001916/0.001916, allocations: 118.3 kB / 17.13 MB, free: 5.906 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.002345/0.002345, allocations: 194.2 kB / 20.08 MB, free: 2.977 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.461/1.461, allocations: 225.6 MB / 248.5 MB, free: 3.617 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.074/1.074, allocations: 175.7 MB / 479.1 MB, free: 3.375 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.003038/0.003038, allocations: 68.47 kB / 0.6664 GB, free: 10.89 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2144, allocations: 94.54 MB / 0.7587 GB, free: 1.047 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.7001/0.9145, allocations: 170 MB / 0.9247 GB, free: 8.469 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01008/0.9246, allocations: 7.166 MB / 0.9317 GB, free: 2.684 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000624/0.9252, allocations: 14.41 kB / 0.9317 GB, free: 2.68 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0006665/0.9259, allocations: 172 kB / 0.9319 GB, free: 2.527 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003784/0.9297, allocations: 1.308 MB / 0.9332 GB, free: 1.559 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.001858/0.9315, allocations: 0.6306 MB / 0.9338 GB, free: 1.102 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001185/0.9327, allocations: 0.7602 MB / 0.9345 GB, free: 0.6602 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004767/0.9332, allocations: 259 kB / 0.9348 GB, free: 500 kB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001913/0.9351, allocations: 0.7267 MB / 0.9355 GB, free: 32 kB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001023/0.9361, allocations: 444.3 kB / 0.9359 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 5.086e-05/0.9362, allocations: 25.88 kB / 0.9359 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002708/0.9389, allocations: 1.321 MB / 0.9372 GB, free: 15.01 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001597/0.939, allocations: 119.4 kB / 0.9373 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0002717/0.9393, allocations: 182.5 kB / 0.9375 GB, free: 14.81 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001781/0.9411, allocations: 0.8999 MB / 0.9384 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.9411, allocations: 0 / 0.9384 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.893e-06/0.9411, allocations: 0 / 0.9384 GB, free: 14.27 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.9411, allocations: 0 / 0.9384 GB, free: 14.27 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.001205/0.9423, allocations: 0.714 MB / 0.9391 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.782e-05/0.9424, allocations: 10.09 kB / 0.9391 GB, free: 13.64 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001049/0.9434, allocations: 137.2 kB / 0.9392 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006085/0.944, allocations: 335.7 kB / 0.9395 GB, free: 13.27 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.319e-05/0.9441, allocations: 47.33 kB / 0.9396 GB, free: 13.23 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.851e-05/0.9441, allocations: 28.19 kB / 0.9396 GB, free: 13.22 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006973/0.9448, allocations: 368.4 kB / 0.94 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.9449, allocations: 6.719 kB / 0.94 GB, free: 12.97 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.655e-05/0.9449, allocations: 10.12 kB / 0.94 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.047e-05/0.9449, allocations: 9.219 kB / 0.94 GB, free: 12.96 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005365/0.9454, allocations: 271.6 kB / 0.9402 GB, free: 12.83 MB / 0.6856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002028/0.9475, allocations: 1.495 MB / 0.9417 GB, free: 11.47 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004062/0.9479, allocations: 186.8 kB / 0.9419 GB, free: 11.36 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002236/0.9481, allocations: 115.4 kB / 0.942 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001033/0.9491, allocations: 0.5055 MB / 0.9425 GB, free: 10.78 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.382e-05/0.9492, allocations: 32.38 kB / 0.9425 GB, free: 10.74 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=15): time 1.613e-06/0.9492, allocations: 0 / 0.9425 GB, free: 10.74 MB / 0.6856 GB Notification: Performance of matching and sorting (n=15): time 0.0009767/0.9501, allocations: 357.9 kB / 0.9429 GB, free: 10.56 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.602e-05/0.9502, allocations: 57.44 kB / 0.9429 GB, free: 10.5 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003513/0.9505, allocations: 319.2 kB / 0.9432 GB, free: 10.29 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.9506, allocations: 28.2 kB / 0.9432 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001502/0.9507, allocations: 185.6 kB / 0.9434 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 5.696e-05/0.9508, allocations: 52.94 kB / 0.9435 GB, free: 10.05 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.579e-05/0.9509, allocations: 55.45 kB / 0.9435 GB, free: 10 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001872/0.9511, allocations: 342.5 kB / 0.9439 GB, free: 9.668 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.9513, allocations: 82.03 kB / 0.9439 GB, free: 9.633 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002507/0.9515, allocations: 144.1 kB / 0.9441 GB, free: 9.527 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004291/0.9519, allocations: 244 kB / 0.9443 GB, free: 9.367 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.9519, allocations: 0 / 0.9443 GB, free: 9.367 MB / 0.6856 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005933/0.9525, allocations: 276.8 kB / 0.9446 GB, free: 9.223 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.9526, allocations: 9.016 kB / 0.9446 GB, free: 9.219 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.9526, allocations: 2.031 kB / 0.9446 GB, free: 9.219 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.9526, allocations: 3.25 kB / 0.9446 GB, free: 9.219 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002198/0.9528, allocations: 42.14 kB / 0.9446 GB, free: 9.207 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.9528, allocations: 5.281 kB / 0.9446 GB, free: 9.207 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002313/0.953, allocations: 31.55 kB / 0.9447 GB, free: 9.188 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.965e-05/0.9531, allocations: 21.98 kB / 0.9447 GB, free: 9.176 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.0001901/0.9533, allocations: 158 kB / 0.9448 GB, free: 9.031 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001102/0.9534, allocations: 28.69 kB / 0.9449 GB, free: 9.016 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007096/0.9541, allocations: 303.8 kB / 0.9451 GB, free: 8.84 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/0.9541, allocations: 2.656 kB / 0.9451 GB, free: 8.84 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.9541, allocations: 0 / 0.9451 GB, free: 8.84 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.848e-06/0.9541, allocations: 0 / 0.9451 GB, free: 8.84 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001383/0.9555, allocations: 0.8154 MB / 0.9459 GB, free: 8.184 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.9555, allocations: 0 / 0.9459 GB, free: 8.184 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001791/0.9557, allocations: 39.81 kB / 0.946 GB, free: 8.172 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.9557, allocations: 6.656 kB / 0.946 GB, free: 8.168 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.169e-05/0.9557, allocations: 8.938 kB / 0.946 GB, free: 8.164 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.9557, allocations: 2.125 kB / 0.946 GB, free: 8.164 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.9557, allocations: 10.62 kB / 0.946 GB, free: 8.156 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006301/0.9563, allocations: 399.2 kB / 0.9464 GB, free: 7.852 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001728/0.9565, allocations: 141.3 kB / 0.9465 GB, free: 7.715 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.018e-05/0.9565, allocations: 2.312 kB / 0.9465 GB, free: 7.715 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002575/0.9568, allocations: 15.61 kB / 0.9465 GB, free: 7.707 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.812e-05/0.9569, allocations: 11.33 kB / 0.9466 GB, free: 7.703 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-05/0.9569, allocations: 16 kB / 0.9466 GB, free: 7.695 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002355/0.9571, allocations: 226.9 kB / 0.9468 GB, free: 7.547 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9e-08/0.9571, allocations: 0 / 0.9468 GB, free: 7.547 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0005226/0.9577, allocations: 123.6 kB / 0.9469 GB, free: 7.516 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.0006049/0.9583, allocations: 235.9 kB / 0.9471 GB, free: 7.363 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0005186/0.9588, allocations: 222 kB / 0.9473 GB, free: 7.258 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.9588, allocations: 0 / 0.9473 GB, free: 7.258 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0002264/0.959, allocations: 112.2 kB / 0.9474 GB, free: 7.207 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008565/0.9599, allocations: 162.9 kB / 0.9476 GB, free: 7.125 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.9611, allocations: 0.6326 MB / 0.9482 GB, free: 6.668 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004602/0.9615, allocations: 0.7835 MB / 0.949 GB, free: 5.926 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001142/0.9617, allocations: 36.33 kB / 0.949 GB, free: 5.914 MB / 0.6856 GB Notification: Performance of SimCode: time 3e-07/0.9617, allocations: 3.938 kB / 0.949 GB, free: 5.91 MB / 0.6856 GB Notification: Performance of Templates: time 0.01068/0.9723, allocations: 6.297 MB / 0.9552 GB, free: 0.6445 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.560096594970673] Failed to read output from testmodel.py, exit status != 0: 0.982295700814575 0.994554366 0.050306987000000004 Calling exit ...