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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008918/0.0008918, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009582/0.0009582, allocations: 177.9 kB / 23.22 MB, free: 1.352 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8849/0.8849, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7291/0.7291, allocations: 154.6 MB / 414.5 MB, free: 0.8047 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.774e-06/1.774e-06, allocations: 0 / 0.6193 GB, free: 13.22 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.047e-05/3.224e-05, allocations: 3.922 kB / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.SpecificEntropy): time 0.4563/0.4564, allocations: 143.9 MB / 0.7598 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.004246/0.4606, allocations: 4.231 MB / 0.7639 GB, free: 8.098 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004406/0.4611, allocations: 14.44 kB / 0.7639 GB, free: 8.09 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0004583/0.4615, allocations: 130.2 kB / 0.7641 GB, free: 8.004 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001396/0.4629, allocations: 0.5737 MB / 0.7646 GB, free: 7.703 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001933/0.4649, allocations: 0.849 MB / 0.7654 GB, free: 7.289 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0007367/0.4656, allocations: 0.5829 MB / 0.766 GB, free: 7.023 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003233/0.4659, allocations: 168.5 kB / 0.7662 GB, free: 6.945 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0014/0.4673, allocations: 0.7459 MB / 0.7669 GB, free: 6.617 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005346/0.4678, allocations: 280.5 kB / 0.7672 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.675e-05/0.4679, allocations: 18.38 kB / 0.7672 GB, free: 6.523 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001536/0.4694, allocations: 0.8655 MB / 0.768 GB, free: 6.203 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001188/0.4695, allocations: 91.7 kB / 0.7681 GB, free: 6.164 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.772e-05/0.4696, allocations: 92.62 kB / 0.7682 GB, free: 6.125 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001128/0.4708, allocations: 0.7294 MB / 0.7689 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.4708, allocations: 6.047 kB / 0.7689 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.653e-06/0.4708, allocations: 0 / 0.7689 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.051e-06/0.4708, allocations: 0 / 0.7689 GB, free: 5.887 MB / 0.6355 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.0007262/0.4715, allocations: 0.5266 MB / 0.7694 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.4715, allocations: 11.33 kB / 0.7695 GB, free: 5.465 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004138/0.472, allocations: 81.56 kB / 0.7695 GB, free: 5.441 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003171/0.4723, allocations: 244.6 kB / 0.7698 GB, free: 5.25 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.7e-05/0.4723, allocations: 13.03 kB / 0.7698 GB, free: 5.246 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.706e-05/0.4723, allocations: 20.53 kB / 0.7698 GB, free: 5.238 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003638/0.4727, allocations: 283.2 kB / 0.7701 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.4727, allocations: 1.844 kB / 0.7701 GB, free: 5.082 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.771e-05/0.4727, allocations: 5.406 kB / 0.7701 GB, free: 5.078 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.965e-06/0.4727, allocations: 9.328 kB / 0.7701 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002816/0.473, allocations: 210.2 kB / 0.7703 GB, free: 5.008 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000968/0.474, allocations: 1.093 MB / 0.7713 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/0.4742, allocations: 173.8 kB / 0.7715 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001276/0.4743, allocations: 114.3 kB / 0.7716 GB, free: 3.906 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003786/0.4747, allocations: 102.7 kB / 0.7717 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.4747, allocations: 44.36 kB / 0.7718 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=13): time 1.774e-06/0.4747, allocations: 0 / 0.7718 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13): time 0.0005164/0.4752, allocations: 274 kB / 0.772 GB, free: 3.746 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.764e-05/0.4753, allocations: 161.5 kB / 0.7722 GB, free: 3.555 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000154/0.4754, allocations: 208.1 kB / 0.7724 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.526e-05/0.4754, allocations: 31.05 kB / 0.7724 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.105e-05/0.4755, allocations: 159.4 kB / 0.7726 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.974e-05/0.4755, allocations: 45.83 kB / 0.7726 GB, free: 3.215 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.889e-05/0.4756, allocations: 40.91 kB / 0.7726 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 3.935e-05/0.4756, allocations: 329.9 kB / 0.773 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001056/0.4757, allocations: 69.78 kB / 0.773 GB, free: 2.852 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/0.4759, allocations: 246.5 kB / 0.7733 GB, free: 2.625 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002336/0.4761, allocations: 213 kB / 0.7735 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.4761, allocations: 1.531 kB / 0.7735 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0003146/0.4764, allocations: 249.8 kB / 0.7737 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.4765, allocations: 5.625 kB / 0.7737 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.981e-06/0.4765, allocations: 2.188 kB / 0.7737 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.4765, allocations: 4.422 kB / 0.7737 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.4766, allocations: 38.17 kB / 0.7737 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/0.4766, allocations: 11.78 kB / 0.7738 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.549e-05/0.4767, allocations: 20.8 kB / 0.7738 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.624e-05/0.4767, allocations: 13.02 kB / 0.7738 GB, free: 2.371 MB / 0.6355 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 8.58e-05/0.4768, allocations: 144.8 kB / 0.7739 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.109e-05/0.4769, allocations: 26.14 kB / 0.774 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003021/0.4772, allocations: 190.9 kB / 0.7741 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/0.4772, allocations: 3.266 kB / 0.7741 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.4772, allocations: 1.156 kB / 0.7741 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.4772, allocations: 2.797 kB / 0.7741 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005748/0.4778, allocations: 0.7758 MB / 0.7749 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.4778, allocations: 2.094 kB / 0.7749 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.908e-05/0.4779, allocations: 22.66 kB / 0.7749 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.4779, allocations: 2.297 kB / 0.7749 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.01e-05/0.4779, allocations: 2.781 kB / 0.7749 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.4779, allocations: 1.875 kB / 0.7749 GB, free: 1.461 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.765e-06/0.4779, allocations: 9.734 kB / 0.7749 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003305/0.4782, allocations: 337.3 kB / 0.7753 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.598e-05/0.4783, allocations: 28.48 kB / 0.7753 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.4783, allocations: 6.875 kB / 0.7753 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.089e-05/0.4784, allocations: 12.42 kB / 0.7753 GB, free: 1.199 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.104e-05/0.4784, allocations: 12.39 kB / 0.7753 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-06/0.4784, allocations: 3.312 kB / 0.7753 GB, free: 1.195 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001099/0.4785, allocations: 176.1 kB / 0.7755 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4785, allocations: 0 / 0.7755 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004591/0.479, allocations: 104.9 kB / 0.7756 GB, free: 1.066 MB / 0.6355 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.0003719/0.4793, allocations: 217.9 kB / 0.7758 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002644/0.4796, allocations: 142.5 kB / 0.7759 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.4796, allocations: 1.781 kB / 0.7759 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.058e-05/0.4797, allocations: 66.42 kB / 0.776 GB, free: 0.8828 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.4801, allocations: 68.67 kB / 0.7761 GB, free: 0.8672 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006338/0.4807, allocations: 495.5 kB / 0.7765 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001175/0.4808, allocations: 154 kB / 0.7767 GB, free: 428 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.337e-05/0.4809, allocations: 21.69 kB / 0.7767 GB, free: 420 kB / 0.6355 GB Notification: Performance of SimCode: time 1.443e-06/0.4809, allocations: 0 / 0.7767 GB, free: 420 kB / 0.6355 GB Notification: Performance of Templates: time 0.006194/0.4871, allocations: 4.625 MB / 0.7812 GB, free: 15.94 MB / 0.6511 GB " [Timeout remaining time 660] 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: 6.569556802511215] Failed to read output from testmodel.py, exit status != 0: 0.4934035576879978 0.502282507 0.029615306 Calling exit ...