Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.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.00212/0.00212, allocations: 110 kB / 18.93 MB, free: 2.945 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.002456/0.002456, allocations: 190.7 kB / 22.23 MB, free: 5.16 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.521/1.521, allocations: 225.6 MB / 251 MB, free: 13 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/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.142/1.142, allocations: 177.9 MB / 484.2 MB, free: 5.332 MB / 382.1 MB " [Timeout remaining time 178] 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.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy") translateModel(IDEAS.Fluid.Sensors.Examples.SpecificEntropy,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001997/0.001997, allocations: 68.19 kB / 0.674 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7212/0.7232, allocations: 95.18 MB / 0.7669 GB, free: 7.906 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.2277/0.9509, allocations: 163.9 MB / 0.927 GB, free: 14.66 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.006776/0.9577, allocations: 4.637 MB / 0.9315 GB, free: 10.02 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004953/0.9582, allocations: 11.88 kB / 0.9316 GB, free: 10 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005373/0.9587, allocations: 123.1 kB / 0.9317 GB, free: 9.883 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001637/0.9604, allocations: 0.5757 MB / 0.9322 GB, free: 9.305 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002142/0.9625, allocations: 0.8351 MB / 0.9331 GB, free: 8.473 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0008904/0.9634, allocations: 0.5963 MB / 0.9336 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003771/0.9638, allocations: 165 kB / 0.9338 GB, free: 7.711 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001922/0.9657, allocations: 0.7006 MB / 0.9345 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006597/0.9664, allocations: 302.9 kB / 0.9348 GB, free: 6.711 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.087e-05/0.9664, allocations: 16 kB / 0.9348 GB, free: 6.695 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001914/0.9683, allocations: 1.107 MB / 0.9359 GB, free: 5.586 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001189/0.9684, allocations: 95.7 kB / 0.936 GB, free: 5.492 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001617/0.9686, allocations: 127.3 kB / 0.9361 GB, free: 5.367 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001256/0.9698, allocations: 0.7195 MB / 0.9368 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.9699, allocations: 0 / 0.9368 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.084e-06/0.9699, allocations: 0 / 0.9368 GB, free: 4.648 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.9699, allocations: 0 / 0.9368 GB, free: 4.648 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 44 * Number of variables: 44 Notification: Performance of Generate backend data structure: time 0.001116/0.971, allocations: 0.5275 MB / 0.9373 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.967e-05/0.971, allocations: 12.03 kB / 0.9373 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006983/0.9717, allocations: 75.75 kB / 0.9374 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004445/0.9722, allocations: 234.3 kB / 0.9376 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.209e-05/0.9722, allocations: 16 kB / 0.9376 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.171e-05/0.9722, allocations: 20 kB / 0.9376 GB, free: 3.715 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000536/0.9728, allocations: 279.4 kB / 0.9379 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.331e-05/0.9728, allocations: 3.938 kB / 0.9379 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.213e-05/0.9728, allocations: 15.98 kB / 0.9379 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.266e-06/0.9728, allocations: 8 kB / 0.9379 GB, free: 3.387 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004627/0.9733, allocations: 199.8 kB / 0.9381 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001839/0.9751, allocations: 1.213 MB / 0.9393 GB, free: 1.906 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003311/0.9755, allocations: 173 kB / 0.9395 GB, free: 1.691 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002178/0.9757, allocations: 104.2 kB / 0.9396 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007025/0.9764, allocations: 108 kB / 0.9397 GB, free: 1.469 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.9764, allocations: 38.55 kB / 0.9397 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=13): time 1.613e-06/0.9764, allocations: 0 / 0.9397 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of matching and sorting (n=13): time 0.0008439/0.9773, allocations: 281.1 kB / 0.94 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001176/0.9774, allocations: 166.7 kB / 0.9401 GB, free: 0.9414 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003294/0.9777, allocations: 288.2 kB / 0.9404 GB, free: 0.6523 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.067e-05/0.9777, allocations: 25.7 kB / 0.9404 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001477/0.9779, allocations: 159.9 kB / 0.9406 GB, free: 472 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.74e-05/0.9779, allocations: 39.64 kB / 0.9406 GB, free: 432 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001085/0.9781, allocations: 45.66 kB / 0.9407 GB, free: 380 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002172/0.9783, allocations: 334.8 kB / 0.941 GB, free: 36 kB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002361/0.9785, allocations: 71.86 kB / 0.9411 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002766/0.9788, allocations: 148.5 kB / 0.9412 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004463/0.9792, allocations: 211.5 kB / 0.9414 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.9792, allocations: 4 kB / 0.9414 GB, free: 15.55 MB / 0.7325 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0005681/0.9798, allocations: 241.2 kB / 0.9416 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.9798, allocations: 4 kB / 0.9416 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.9798, allocations: 7.938 kB / 0.9416 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.9798, allocations: 4 kB / 0.9416 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001998/0.98, allocations: 44.16 kB / 0.9417 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.9801, allocations: 7.938 kB / 0.9417 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/0.9803, allocations: 31.77 kB / 0.9417 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.418e-05/0.9803, allocations: 12 kB / 0.9417 GB, free: 15.2 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (18): * Single equations (assignments): 18 * 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.0001502/0.9804, allocations: 145.8 kB / 0.9419 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001585/0.9806, allocations: 31.88 kB / 0.9419 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004987/0.9811, allocations: 186.2 kB / 0.9421 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.9811, allocations: 4 kB / 0.9421 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.536e-06/0.9811, allocations: 3.938 kB / 0.9421 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.022e-06/0.9811, allocations: 8 kB / 0.9421 GB, free: 14.8 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001109/0.9822, allocations: 0.8228 MB / 0.9429 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.9822, allocations: 4.156 kB / 0.9429 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000121/0.9824, allocations: 23.98 kB / 0.9429 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.9824, allocations: 0 / 0.9429 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/0.9824, allocations: 7.938 kB / 0.9429 GB, free: 13.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.9824, allocations: 4.125 kB / 0.9429 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.317e-06/0.9824, allocations: 4 kB / 0.9429 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006213/0.983, allocations: 343.4 kB / 0.9433 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.248e-05/0.9831, allocations: 31.88 kB / 0.9433 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.733e-05/0.9831, allocations: 11.92 kB / 0.9433 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001624/0.9833, allocations: 8 kB / 0.9433 GB, free: 13.45 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.041e-05/0.9833, allocations: 12.05 kB / 0.9433 GB, free: 13.44 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.628e-06/0.9833, allocations: 4 kB / 0.9433 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002752/0.9836, allocations: 243 kB / 0.9436 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.9836, allocations: 0 / 0.9436 GB, free: 13.2 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004929/0.9841, allocations: 95.86 kB / 0.9437 GB, free: 13.1 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senStr.s) * 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 (10): * Single equations (assignments): 10 * 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.0005878/0.9847, allocations: 225.4 kB / 0.9439 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004262/0.9851, allocations: 147.8 kB / 0.944 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.9851, allocations: 4.5 kB / 0.944 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001626/0.9853, allocations: 63.89 kB / 0.9441 GB, free: 12.67 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007873/0.9861, allocations: 130.4 kB / 0.9442 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009096/0.987, allocations: 496.2 kB / 0.9447 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004387/0.9874, allocations: 0.7558 MB / 0.9454 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001907/0.9876, allocations: 74.86 kB / 0.9455 GB, free: 11.16 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.279e-05/0.9877, allocations: 23.44 kB / 0.9455 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of SimCode: time 4.11e-07/0.9877, allocations: 0 / 0.9455 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of Templates: time 0.01253/1, allocations: 5.934 MB / 0.9513 GB, free: 5.27 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.SpecificEntropy.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.3138118498027325] Failed to read output from testmodel.py, exit status != 0: 1.0092981746420264 1.024241037 0.051254314 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fa82b83d7b0>