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.0007557/0.0007557, allocations: 96.36 kB / 19.7 MB, free: 452 kB / 13.93 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.000751/0.000751, allocations: 207.2 kB / 22.99 MB, free: 2.984 MB / 13.93 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.9581/0.9581, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.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.7621/0.7621, allocations: 203.8 MB / 0.5049 GB, free: 10.44 MB / 410.7 MB " [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: 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.001285/0.001285, allocations: 62 kB / 0.7194 GB, free: 3.523 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4662/0.4675, allocations: 102 MB / 0.819 GB, free: 1.344 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1277/0.5952, allocations: 149.6 MB / 0.9651 GB, free: 15.52 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.006142/0.6013, allocations: 6.567 MB / 0.9715 GB, free: 8.945 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005513/0.6019, allocations: 19.81 kB / 0.9715 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0005983/0.6025, allocations: 170.7 kB / 0.9717 GB, free: 8.758 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.003488/0.606, allocations: 1.288 MB / 0.9729 GB, free: 7.465 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.00165/0.6076, allocations: 0.6872 MB / 0.9736 GB, free: 6.785 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001125/0.6088, allocations: 0.7602 MB / 0.9743 GB, free: 6.02 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004813/0.6092, allocations: 235.2 kB / 0.9746 GB, free: 5.789 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001615/0.6109, allocations: 0.7474 MB / 0.9753 GB, free: 5.039 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008617/0.6117, allocations: 434.4 kB / 0.9757 GB, free: 4.613 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 4.864e-05/0.6118, allocations: 28 kB / 0.9757 GB, free: 4.586 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00218/0.6139, allocations: 1.028 MB / 0.9767 GB, free: 3.555 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001536/0.6141, allocations: 123.6 kB / 0.9769 GB, free: 3.434 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001774/0.6143, allocations: 155.3 kB / 0.977 GB, free: 3.281 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001642/0.6159, allocations: 0.8722 MB / 0.9779 GB, free: 2.406 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.6159, allocations: 0 / 0.9779 GB, free: 2.406 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.994e-06/0.6159, allocations: 0 / 0.9779 GB, free: 2.406 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.6159, allocations: 4 kB / 0.9779 GB, free: 2.402 MB / 0.7448 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.001041/0.617, allocations: 0.629 MB / 0.9785 GB, free: 1.742 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/0.617, allocations: 12.03 kB / 0.9785 GB, free: 1.73 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009024/0.6179, allocations: 127.6 kB / 0.9786 GB, free: 1.605 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006308/0.6186, allocations: 279.5 kB / 0.9789 GB, free: 1.309 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.649e-05/0.6186, allocations: 72.06 kB / 0.9789 GB, free: 1.223 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.123e-05/0.6187, allocations: 28 kB / 0.979 GB, free: 1.195 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004805/0.6192, allocations: 393 kB / 0.9793 GB, free: 0.7891 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.6192, allocations: 3.938 kB / 0.9793 GB, free: 0.7852 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.311e-05/0.6192, allocations: 12 kB / 0.9794 GB, free: 0.7734 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.624e-06/0.6192, allocations: 8 kB / 0.9794 GB, free: 0.7656 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003202/0.6195, allocations: 277.7 kB / 0.9796 GB, free: 0.4961 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001081/0.6206, allocations: 1.059 MB / 0.9807 GB, free: 15.39 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002472/0.6209, allocations: 206.4 kB / 0.9809 GB, free: 15.18 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001793/0.621, allocations: 108.8 kB / 0.981 GB, free: 15.07 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003928/0.6214, allocations: 131.8 kB / 0.9811 GB, free: 14.94 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.6214, allocations: 42.56 kB / 0.9811 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=15): time 1.373e-06/0.6214, allocations: 0 / 0.9811 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of matching and sorting (n=15): time 0.0005581/0.622, allocations: 345.3 kB / 0.9815 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.478e-05/0.622, allocations: 59.39 kB / 0.9815 GB, free: 14.48 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001432/0.6222, allocations: 237.8 kB / 0.9817 GB, free: 14.24 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 1.916e-05/0.6222, allocations: 25.7 kB / 0.9818 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 8.427e-05/0.6223, allocations: 196.5 kB / 0.982 GB, free: 14.01 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 3.469e-05/0.6223, allocations: 63.47 kB / 0.982 GB, free: 13.95 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.408e-05/0.6224, allocations: 41.7 kB / 0.9821 GB, free: 13.9 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 8.018e-05/0.6224, allocations: 334.8 kB / 0.9824 GB, free: 13.56 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000108/0.6226, allocations: 83.94 kB / 0.9825 GB, free: 13.48 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002759/0.6228, allocations: 224.9 kB / 0.9827 GB, free: 13.22 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002366/0.6231, allocations: 243.9 kB / 0.9829 GB, free: 12.96 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.6231, allocations: 0 / 0.9829 GB, free: 12.96 MB / 0.7605 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000322/0.6234, allocations: 281.2 kB / 0.9832 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.339e-05/0.6234, allocations: 4 kB / 0.9832 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.6234, allocations: 0 / 0.9832 GB, free: 12.68 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.553e-05/0.6234, allocations: 7.984 kB / 0.9832 GB, free: 12.67 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001154/0.6235, allocations: 39.92 kB / 0.9832 GB, free: 12.63 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.6235, allocations: 7.984 kB / 0.9832 GB, free: 12.62 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.357e-05/0.6236, allocations: 24.06 kB / 0.9832 GB, free: 12.6 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/0.6237, allocations: 16 kB / 0.9833 GB, free: 12.59 MB / 0.7605 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 9.804e-05/0.6238, allocations: 157.7 kB / 0.9834 GB, free: 12.42 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.492e-05/0.6238, allocations: 23.8 kB / 0.9834 GB, free: 12.4 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003795/0.6242, allocations: 305.5 kB / 0.9837 GB, free: 12.1 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.6242, allocations: 4 kB / 0.9837 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.507e-06/0.6242, allocations: 0 / 0.9837 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.6242, allocations: 0 / 0.9837 GB, free: 12.09 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006774/0.6249, allocations: 0.7181 MB / 0.9844 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.6249, allocations: 0 / 0.9844 GB, free: 11.32 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.105e-05/0.625, allocations: 31.98 kB / 0.9845 GB, free: 11.29 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.625, allocations: 8.156 kB / 0.9845 GB, free: 11.28 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.194e-05/0.625, allocations: 12 kB / 0.9845 GB, free: 11.27 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.625, allocations: 3.938 kB / 0.9845 GB, free: 11.26 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.625, allocations: 11.92 kB / 0.9845 GB, free: 11.25 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003249/0.6253, allocations: 393.2 kB / 0.9849 GB, free: 10.83 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 6.514e-05/0.6254, allocations: 51.83 kB / 0.9849 GB, free: 10.78 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.936e-05/0.6254, allocations: 4 kB / 0.9849 GB, free: 10.77 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.6255, allocations: 15.98 kB / 0.9849 GB, free: 10.76 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.046e-05/0.6255, allocations: 23.91 kB / 0.985 GB, free: 10.73 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.368e-05/0.6255, allocations: 8 kB / 0.985 GB, free: 10.73 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 8.792e-05/0.6256, allocations: 169.2 kB / 0.9851 GB, free: 10.56 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5.1e-08/0.6256, allocations: 0 / 0.9851 GB, free: 10.56 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003252/0.626, allocations: 127.6 kB / 0.9853 GB, free: 10.43 MB / 0.7605 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.0002981/0.6263, allocations: 218.9 kB / 0.9855 GB, free: 10.21 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0002976/0.6266, allocations: 220 kB / 0.9857 GB, free: 9.992 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.6266, allocations: 0 / 0.9857 GB, free: 9.992 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001224/0.6267, allocations: 111.8 kB / 0.9858 GB, free: 9.883 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003727/0.627, allocations: 101.1 kB / 0.9859 GB, free: 9.793 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009215/0.628, allocations: 0.6221 MB / 0.9865 GB, free: 9.117 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/0.6281, allocations: 180.8 kB / 0.9867 GB, free: 8.918 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.406e-05/0.6281, allocations: 27.42 kB / 0.9867 GB, free: 8.891 MB / 0.7605 GB Notification: Performance of SimCode: time 4.11e-07/0.6281, allocations: 4 kB / 0.9867 GB, free: 8.887 MB / 0.7605 GB Notification: Performance of Templates: time 0.005369/0.6335, allocations: 5.683 MB / 0.9922 GB, free: 3.246 MB / 0.7605 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.882774782832712] Failed to read output from testmodel.py, exit status != 0: 0.6402355562895536 0.6460174949999999 0.028292619 Calling exit ...