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.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.001384/0.001384, allocations: 79.52 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001593/0.001593, allocations: 164.1 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.468/1.468, allocations: 177.1 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] 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 1.225/1.225, allocations: 154.5 MB / 413.7 MB, free: 5.309 MB / 382.1 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 178] 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.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 1.733e-06/1.733e-06, allocations: 0 / 0.6185 GB, free: 4.656 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.705e-05/2.878e-05, allocations: 6.344 kB / 0.6185 GB, free: 4.652 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5252/0.5252, allocations: 149.5 MB / 0.7645 GB, free: 14.13 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.009434/0.5347, allocations: 6.546 MB / 0.7709 GB, free: 9.75 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006164/0.5353, allocations: 24.22 kB / 0.7709 GB, free: 9.734 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0006619/0.536, allocations: 177.6 kB / 0.7711 GB, free: 9.617 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003438/0.5394, allocations: 1.317 MB / 0.7724 GB, free: 8.914 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002037/0.5414, allocations: 0.7262 MB / 0.7731 GB, free: 8.379 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.00111/0.5425, allocations: 0.7527 MB / 0.7738 GB, free: 7.941 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004685/0.543, allocations: 242.8 kB / 0.774 GB, free: 7.773 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001915/0.5449, allocations: 0.8437 MB / 0.7749 GB, free: 7.23 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009251/0.5459, allocations: 405 kB / 0.7753 GB, free: 7.023 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 5.523e-05/0.5459, allocations: 23.88 kB / 0.7753 GB, free: 7.023 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002289/0.5482, allocations: 1.066 MB / 0.7763 GB, free: 6.41 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001532/0.5483, allocations: 121.8 kB / 0.7764 GB, free: 6.328 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001624/0.5485, allocations: 123.3 kB / 0.7766 GB, free: 6.27 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001548/0.5501, allocations: 0.9252 MB / 0.7775 GB, free: 5.711 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.5501, allocations: 0 / 0.7775 GB, free: 5.711 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5501, allocations: 0 / 0.7775 GB, free: 5.711 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.055e-06/0.5501, allocations: 0 / 0.7775 GB, free: 5.711 MB / 0.6231 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.001088/0.5512, allocations: 0.6282 MB / 0.7781 GB, free: 5.184 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.357e-05/0.5512, allocations: 9.406 kB / 0.7781 GB, free: 5.184 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001007/0.5522, allocations: 126.3 kB / 0.7782 GB, free: 5.125 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005423/0.5528, allocations: 284.2 kB / 0.7785 GB, free: 4.883 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.77e-05/0.5529, allocations: 75.05 kB / 0.7785 GB, free: 4.809 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.158e-05/0.5529, allocations: 27.59 kB / 0.7786 GB, free: 4.801 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006742/0.5536, allocations: 399.2 kB / 0.779 GB, free: 4.527 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.5536, allocations: 0 / 0.779 GB, free: 4.527 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.411e-05/0.5536, allocations: 10.44 kB / 0.779 GB, free: 4.52 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.5536, allocations: 5.5 kB / 0.779 GB, free: 4.52 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005162/0.5541, allocations: 273.1 kB / 0.7792 GB, free: 4.395 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00173/0.5559, allocations: 1.062 MB / 0.7803 GB, free: 3.516 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004159/0.5563, allocations: 193.7 kB / 0.7804 GB, free: 3.406 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002089/0.5565, allocations: 112.8 kB / 0.7806 GB, free: 3.352 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007452/0.5572, allocations: 136 kB / 0.7807 GB, free: 3.297 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.504e-05/0.5573, allocations: 33.12 kB / 0.7807 GB, free: 3.258 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.723e-06/0.5573, allocations: 0 / 0.7807 GB, free: 3.258 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.001042/0.5583, allocations: 360.7 kB / 0.7811 GB, free: 3.07 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.826e-05/0.5584, allocations: 53.72 kB / 0.7811 GB, free: 3.008 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000296/0.5587, allocations: 234.2 kB / 0.7813 GB, free: 2.844 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.131e-05/0.5587, allocations: 29.7 kB / 0.7814 GB, free: 2.809 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001914/0.5589, allocations: 203.1 kB / 0.7816 GB, free: 2.625 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.082e-05/0.559, allocations: 55.66 kB / 0.7816 GB, free: 2.578 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.319e-05/0.5591, allocations: 45.3 kB / 0.7817 GB, free: 2.543 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001747/0.5593, allocations: 332.3 kB / 0.782 GB, free: 2.215 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001945/0.5594, allocations: 85.22 kB / 0.7821 GB, free: 2.176 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003163/0.5598, allocations: 226.5 kB / 0.7823 GB, free: 1.977 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004314/0.5602, allocations: 246.1 kB / 0.7825 GB, free: 1.816 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.946e-06/0.5602, allocations: 0 / 0.7825 GB, free: 1.816 MB / 0.6231 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005559/0.5608, allocations: 266.2 kB / 0.7828 GB, free: 1.68 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.972e-05/0.5608, allocations: 13.02 kB / 0.7828 GB, free: 1.672 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.383e-06/0.5608, allocations: 2.844 kB / 0.7828 GB, free: 1.672 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.875e-05/0.5608, allocations: 6.188 kB / 0.7828 GB, free: 1.668 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002242/0.561, allocations: 43.86 kB / 0.7828 GB, free: 1.656 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.855e-06/0.561, allocations: 2.875 kB / 0.7828 GB, free: 1.656 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001797/0.5612, allocations: 20.44 kB / 0.7828 GB, free: 1.645 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.942e-05/0.5613, allocations: 14.55 kB / 0.7829 GB, free: 1.641 MB / 0.6231 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.0001834/0.5614, allocations: 157.8 kB / 0.783 GB, free: 1.496 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.5615, allocations: 26.47 kB / 0.783 GB, free: 1.48 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006896/0.5622, allocations: 307.1 kB / 0.7833 GB, free: 1.305 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.5622, allocations: 2.5 kB / 0.7833 GB, free: 1.305 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.5622, allocations: 0 / 0.7833 GB, free: 1.305 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.607e-06/0.5622, allocations: 3 kB / 0.7833 GB, free: 1.305 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001249/0.5635, allocations: 0.7238 MB / 0.784 GB, free: 0.7539 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.5635, allocations: 2.594 kB / 0.784 GB, free: 0.7539 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002061/0.5637, allocations: 34.8 kB / 0.7841 GB, free: 0.7461 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.5637, allocations: 2.875 kB / 0.7841 GB, free: 0.7461 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.5637, allocations: 6.375 kB / 0.7841 GB, free: 0.7422 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/0.5637, allocations: 6.703 kB / 0.7841 GB, free: 0.7383 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.5637, allocations: 2.531 kB / 0.7841 GB, free: 0.7383 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006129/0.5643, allocations: 397.3 kB / 0.7845 GB, free: 448 kB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001092/0.5645, allocations: 50.17 kB / 0.7845 GB, free: 416 kB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.076e-05/0.5645, allocations: 6.938 kB / 0.7845 GB, free: 412 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00022/0.5647, allocations: 15.83 kB / 0.7845 GB, free: 404 kB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.612e-05/0.5648, allocations: 20.34 kB / 0.7846 GB, free: 392 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.742e-05/0.5648, allocations: 11.66 kB / 0.7846 GB, free: 388 kB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000138/0.565, allocations: 162.8 kB / 0.7847 GB, free: 276 kB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/0.565, allocations: 3.938 kB / 0.7847 GB, free: 272 kB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005708/0.5655, allocations: 132.8 kB / 0.7849 GB, free: 232 kB / 0.6231 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.0005211/0.566, allocations: 225.1 kB / 0.7851 GB, free: 76 kB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005196/0.5666, allocations: 214.8 kB / 0.7853 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.5666, allocations: 0 / 0.7853 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000223/0.5668, allocations: 114.2 kB / 0.7854 GB, free: 15.92 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006798/0.5675, allocations: 102.1 kB / 0.7855 GB, free: 15.87 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.5685, allocations: 0.58 MB / 0.786 GB, free: 15.45 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001806/0.5687, allocations: 177.9 kB / 0.7862 GB, free: 15.32 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0002101/0.5689, allocations: 69.94 kB / 0.7863 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.865e-05/0.569, allocations: 32.81 kB / 0.7863 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of SimCode: time 4.4e-07/0.569, allocations: 0 / 0.7863 GB, free: 15.27 MB / 0.6387 GB Notification: Performance of Templates: time 0.0118/0.5808, allocations: 5.92 MB / 0.7921 GB, free: 12.26 MB / 0.6387 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: 6.648210857063532] Failed to read output from testmodel.py, exit status != 0: 0.5898756682872772 0.603403118 0.050375677 Calling exit ...