Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001771/0.001771, allocations: 77.7 kB / 19.76 MB, free: 2.031 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.002018/0.002018, allocations: 162.7 kB / 23.01 MB, free: 4.945 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.463/1.463, allocations: 177.2 MB / 203.4 MB, free: 8.93 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8025/0.8025, allocations: 101.3 MB / 361.1 MB, free: 9.492 MB / 334.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 3.0.0/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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002151/0.002151, allocations: 66.11 kB / 0.5356 GB, free: 5.195 MB / 446.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 3.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of FrontEnd - Absyn->SCode: time 0.1714/0.1736, allocations: 85.88 MB / 0.6195 GB, free: 1.523 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5799/0.7535, allocations: 149.5 MB / 0.7655 GB, free: 3.082 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008768/0.7622, allocations: 6.55 MB / 0.7719 GB, free: 14.15 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004423/0.7627, allocations: 15.91 kB / 0.7719 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0005967/0.7633, allocations: 181.5 kB / 0.7721 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003336/0.7666, allocations: 1.3 MB / 0.7734 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.001726/0.7683, allocations: 0.6574 MB / 0.774 GB, free: 12.55 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0009498/0.7693, allocations: 0.7656 MB / 0.7748 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004109/0.7697, allocations: 237.2 kB / 0.775 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001201/0.7709, allocations: 0.5906 MB / 0.7756 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008403/0.7717, allocations: 455.9 kB / 0.776 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 5.044e-05/0.7718, allocations: 26.84 kB / 0.776 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002013/0.7738, allocations: 1.051 MB / 0.777 GB, free: 10.74 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0001534/0.7739, allocations: 116.8 kB / 0.7772 GB, free: 10.66 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0001841/0.7741, allocations: 148 kB / 0.7773 GB, free: 10.58 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001431/0.7756, allocations: 0.8788 MB / 0.7782 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.7756, allocations: 0 / 0.7782 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7756, allocations: 0 / 0.7782 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 9.016e-06/0.7756, allocations: 7.938 kB / 0.7782 GB, free: 10.05 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.001159/0.7767, allocations: 0.6402 MB / 0.7788 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.215e-05/0.7768, allocations: 8.344 kB / 0.7788 GB, free: 9.52 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/0.7778, allocations: 130.2 kB / 0.7789 GB, free: 9.457 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005832/0.7784, allocations: 274.9 kB / 0.7792 GB, free: 9.219 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001107/0.7785, allocations: 73.22 kB / 0.7792 GB, free: 9.145 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.11e-05/0.7785, allocations: 26.94 kB / 0.7793 GB, free: 9.137 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000677/0.7792, allocations: 399.5 kB / 0.7797 GB, free: 8.867 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.323e-05/0.7792, allocations: 3 kB / 0.7797 GB, free: 8.867 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.309e-05/0.7792, allocations: 9.969 kB / 0.7797 GB, free: 8.859 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.24e-05/0.7793, allocations: 10.16 kB / 0.7797 GB, free: 8.855 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000513/0.7798, allocations: 274.9 kB / 0.7799 GB, free: 8.727 MB / 0.6231 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00177/0.7815, allocations: 1.066 MB / 0.781 GB, free: 7.852 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004103/0.782, allocations: 184.9 kB / 0.7812 GB, free: 7.75 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002165/0.7822, allocations: 109.1 kB / 0.7813 GB, free: 7.695 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007507/0.7829, allocations: 136.3 kB / 0.7814 GB, free: 7.641 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.732e-05/0.783, allocations: 33.12 kB / 0.7814 GB, free: 7.602 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=15): time 1.663e-06/0.783, allocations: 0 / 0.7814 GB, free: 7.602 MB / 0.6231 GB Notification: Performance of matching and sorting (n=15): time 0.0009283/0.7839, allocations: 354.3 kB / 0.7818 GB, free: 7.422 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/0.7839, allocations: 57.59 kB / 0.7818 GB, free: 7.355 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002568/0.7842, allocations: 234 kB / 0.782 GB, free: 7.191 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.365e-05/0.7842, allocations: 27.86 kB / 0.7821 GB, free: 7.16 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001922/0.7844, allocations: 197.2 kB / 0.7823 GB, free: 6.977 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.066e-05/0.7845, allocations: 59.5 kB / 0.7823 GB, free: 6.926 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.2e-05/0.7846, allocations: 44.05 kB / 0.7824 GB, free: 6.895 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0002213/0.7848, allocations: 336.3 kB / 0.7827 GB, free: 6.562 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/0.785, allocations: 84.8 kB / 0.7828 GB, free: 6.523 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003137/0.7853, allocations: 222.3 kB / 0.783 GB, free: 6.324 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004595/0.7858, allocations: 245.8 kB / 0.7832 GB, free: 6.164 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.7858, allocations: 0 / 0.7832 GB, free: 6.164 MB / 0.6231 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006077/0.7864, allocations: 280.2 kB / 0.7835 GB, free: 6.012 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.089e-05/0.7864, allocations: 5.188 kB / 0.7835 GB, free: 6.012 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.7864, allocations: 1.969 kB / 0.7835 GB, free: 6.012 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.435e-05/0.7864, allocations: 7.375 kB / 0.7835 GB, free: 6.008 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000238/0.7867, allocations: 43.89 kB / 0.7835 GB, free: 5.996 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.7867, allocations: 6.641 kB / 0.7835 GB, free: 5.992 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001894/0.7869, allocations: 16.05 kB / 0.7835 GB, free: 5.984 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.563e-05/0.7869, allocations: 19.7 kB / 0.7836 GB, free: 5.973 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.0002108/0.7871, allocations: 152.6 kB / 0.7837 GB, free: 5.832 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.7872, allocations: 25.3 kB / 0.7837 GB, free: 5.82 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007033/0.7879, allocations: 307.5 kB / 0.784 GB, free: 5.641 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.14e-06/0.7879, allocations: 2.875 kB / 0.784 GB, free: 5.641 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.7879, allocations: 3.938 kB / 0.784 GB, free: 5.637 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.788, allocations: 0 / 0.784 GB, free: 5.637 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001288/0.7892, allocations: 0.7195 MB / 0.7847 GB, free: 5.094 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.535e-06/0.7892, allocations: 0 / 0.7847 GB, free: 5.094 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001824/0.7894, allocations: 38.52 kB / 0.7848 GB, free: 5.082 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.929e-06/0.7894, allocations: 2.438 kB / 0.7848 GB, free: 5.082 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/0.7895, allocations: 13.17 kB / 0.7848 GB, free: 5.074 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.991e-06/0.7895, allocations: 6.719 kB / 0.7848 GB, free: 5.07 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.7895, allocations: 3.156 kB / 0.7848 GB, free: 5.07 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006093/0.7901, allocations: 390.1 kB / 0.7852 GB, free: 4.773 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001151/0.7902, allocations: 48.33 kB / 0.7852 GB, free: 4.742 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.634e-05/0.7902, allocations: 9 kB / 0.7852 GB, free: 4.738 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002204/0.7904, allocations: 16.23 kB / 0.7852 GB, free: 4.73 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.029e-05/0.7905, allocations: 24 kB / 0.7853 GB, free: 4.715 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.584e-05/0.7905, allocations: 12.03 kB / 0.7853 GB, free: 4.711 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001552/0.7907, allocations: 163.7 kB / 0.7854 GB, free: 4.594 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/0.7907, allocations: 2.719 kB / 0.7854 GB, free: 4.594 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005922/0.7913, allocations: 128.6 kB / 0.7856 GB, free: 4.559 MB / 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.0005008/0.7918, allocations: 214.1 kB / 0.7858 GB, free: 4.41 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005405/0.7923, allocations: 227.2 kB / 0.786 GB, free: 4.309 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.125e-06/0.7923, allocations: 0 / 0.786 GB, free: 4.309 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002353/0.7926, allocations: 110.2 kB / 0.7861 GB, free: 4.258 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006707/0.7932, allocations: 102.9 kB / 0.7862 GB, free: 4.211 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001286/0.7945, allocations: 0.5908 MB / 0.7868 GB, free: 3.785 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002074/0.7947, allocations: 182.5 kB / 0.7869 GB, free: 3.656 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0002611/0.795, allocations: 87.03 kB / 0.787 GB, free: 3.609 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.079e-05/0.7951, allocations: 28.38 kB / 0.787 GB, free: 3.598 MB / 0.6231 GB Notification: Performance of SimCode: time 7.62e-07/0.7951, allocations: 0 / 0.787 GB, free: 3.598 MB / 0.6231 GB Notification: Performance of Templates: time 0.01187/0.807, allocations: 5.905 MB / 0.7928 GB, free: 0.5938 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.286514411913231] Failed to read output from testmodel.py, exit status != 0: 0.8151468830183148 0.830581058 0.051685853000000004 Calling exit ...