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.000916/0.000916, allocations: 76.55 kB / 19.93 MB, free: 4.633 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.0008463/0.0008463, allocations: 181.9 kB / 23.22 MB, free: 1.348 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.8715/0.8715, allocations: 177.1 MB / 203.5 MB, free: 5.75 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.6949/0.6949, allocations: 154.6 MB / 414.5 MB, free: 0.8555 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.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.753e-06/1.753e-06, allocations: 0 / 0.6193 GB, free: 13.22 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.244e-05/3.419e-05, allocations: 6.281 kB / 0.6193 GB, free: 13.21 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.4536/0.4536, allocations: 149.5 MB / 0.7653 GB, free: 7.125 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.006501/0.4601, allocations: 6.542 MB / 0.7716 GB, free: 2.75 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005794/0.4607, allocations: 19.44 kB / 0.7717 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005754/0.4613, allocations: 170.4 kB / 0.7718 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.003199/0.4645, allocations: 1.323 MB / 0.7731 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001743/0.4662, allocations: 0.7194 MB / 0.7738 GB, free: 1.598 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.001011/0.4672, allocations: 0.7619 MB / 0.7746 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004374/0.4677, allocations: 237.4 kB / 0.7748 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001672/0.4694, allocations: 0.8384 MB / 0.7756 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007883/0.4701, allocations: 409.2 kB / 0.776 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.749e-05/0.4702, allocations: 29.59 kB / 0.776 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001938/0.4721, allocations: 1.056 MB / 0.7771 GB, free: 248 kB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001375/0.4723, allocations: 124.5 kB / 0.7772 GB, free: 188 kB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001308/0.4724, allocations: 122 kB / 0.7773 GB, free: 140 kB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001608/0.474, allocations: 0.9257 MB / 0.7782 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.474, allocations: 1.094 kB / 0.7782 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.605e-06/0.474, allocations: 0 / 0.7782 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.179e-05/0.474, allocations: 0 / 0.7782 GB, free: 15.83 MB / 0.6511 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.001005/0.475, allocations: 0.6335 MB / 0.7788 GB, free: 15.35 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.4751, allocations: 15.03 kB / 0.7788 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000591/0.4757, allocations: 125.6 kB / 0.779 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007101/0.4764, allocations: 273.8 kB / 0.7792 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.175e-05/0.4765, allocations: 79.97 kB / 0.7793 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.678e-05/0.4765, allocations: 29.91 kB / 0.7793 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004958/0.477, allocations: 392.3 kB / 0.7797 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.477, allocations: 1.031 kB / 0.7797 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.587e-05/0.477, allocations: 14.48 kB / 0.7797 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/0.477, allocations: 9.469 kB / 0.7797 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003423/0.4774, allocations: 269.1 kB / 0.78 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001182/0.4786, allocations: 1.073 MB / 0.781 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/0.4789, allocations: 183.3 kB / 0.7812 GB, free: 13.9 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001427/0.479, allocations: 111.3 kB / 0.7813 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004541/0.4794, allocations: 139.3 kB / 0.7814 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/0.4795, allocations: 36.19 kB / 0.7815 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=15): time 2.134e-06/0.4795, allocations: 0 / 0.7815 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=15): time 0.0006931/0.4802, allocations: 356.2 kB / 0.7818 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.852e-05/0.4802, allocations: 54.06 kB / 0.7819 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002105/0.4804, allocations: 236.7 kB / 0.7821 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.532e-05/0.4804, allocations: 31.11 kB / 0.7821 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/0.4806, allocations: 198.7 kB / 0.7823 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.837e-05/0.4806, allocations: 60.39 kB / 0.7824 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.817e-05/0.4807, allocations: 41.25 kB / 0.7824 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001038/0.4808, allocations: 332.5 kB / 0.7827 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.4809, allocations: 87.31 kB / 0.7828 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001805/0.4811, allocations: 231.7 kB / 0.783 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000271/0.4813, allocations: 237.1 kB / 0.7832 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.4814, allocations: 0.8438 kB / 0.7832 GB, free: 12.55 MB / 0.6511 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003793/0.4817, allocations: 279.7 kB / 0.7835 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/0.4818, allocations: 13.47 kB / 0.7835 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.4818, allocations: 1.156 kB / 0.7835 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.792e-05/0.4818, allocations: 3.312 kB / 0.7835 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001374/0.4819, allocations: 39.17 kB / 0.7836 GB, free: 12.44 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.618e-06/0.4819, allocations: 6.188 kB / 0.7836 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001168/0.482, allocations: 20.2 kB / 0.7836 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.193e-05/0.4821, allocations: 10.28 kB / 0.7836 GB, free: 12.43 MB / 0.6511 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.0001324/0.4822, allocations: 153.3 kB / 0.7838 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.22e-05/0.4823, allocations: 27.38 kB / 0.7838 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000441/0.4827, allocations: 312.3 kB / 0.7841 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.4827, allocations: 3.578 kB / 0.7841 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.4827, allocations: 1.188 kB / 0.7841 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.4827, allocations: 4.031 kB / 0.7841 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008117/0.4835, allocations: 0.7127 MB / 0.7848 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.328e-06/0.4835, allocations: 2.25 kB / 0.7848 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.878e-05/0.4836, allocations: 37.34 kB / 0.7848 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.99e-06/0.4836, allocations: 2.219 kB / 0.7848 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.503e-05/0.4836, allocations: 8.281 kB / 0.7848 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.942e-06/0.4837, allocations: 6 kB / 0.7848 GB, free: 11.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.458e-06/0.4837, allocations: 6.219 kB / 0.7848 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003806/0.484, allocations: 394.4 kB / 0.7852 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.417e-05/0.4841, allocations: 54.23 kB / 0.7853 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.4842, allocations: 3.125 kB / 0.7853 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001084/0.4843, allocations: 20.41 kB / 0.7853 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.422e-05/0.4843, allocations: 18.83 kB / 0.7853 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.094e-05/0.4843, allocations: 12 kB / 0.7853 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001178/0.4845, allocations: 164.1 kB / 0.7855 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5e-08/0.4845, allocations: 1 kB / 0.7855 GB, free: 11.29 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005268/0.485, allocations: 136 kB / 0.7856 GB, free: 11.25 MB / 0.6511 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.0003931/0.4854, allocations: 220.8 kB / 0.7858 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003414/0.4857, allocations: 215.2 kB / 0.786 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.195e-06/0.4857, allocations: 1.062 kB / 0.786 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001418/0.4859, allocations: 116.7 kB / 0.7861 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004206/0.4863, allocations: 101.6 kB / 0.7862 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008507/0.4871, allocations: 0.608 MB / 0.7868 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001375/0.4873, allocations: 178.7 kB / 0.787 GB, free: 10.51 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.913e-05/0.4873, allocations: 31.27 kB / 0.787 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of SimCode: time 1.012e-06/0.4873, allocations: 0 / 0.787 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of Templates: time 0.00627/0.4936, allocations: 5.713 MB / 0.7926 GB, free: 9.371 MB / 0.6511 GB " [Timeout remaining time 660] 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.346138964407146] Failed to read output from testmodel.py, exit status != 0: 0.500517469830811 0.5078007409999999 0.031999268000000004 Calling exit ...