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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 189 kB / 22.22 MB, free: 5.105 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.44/1.44, allocations: 225.6 MB / 251 MB, free: 13.05 MB / 206.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.8586/0.8586, allocations: 134 MB / 440.3 MB, free: 0.7344 MB / 334.1 MB " [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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 68.33 kB / 0.6107 GB, free: 13.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.1871, allocations: 84.73 MB / 0.6935 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5762/0.7633, allocations: 170.2 MB / 0.8597 GB, free: 8.258 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01028/0.7736, allocations: 7.212 MB / 0.8667 GB, free: 1.023 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004999/0.7741, allocations: 19.81 kB / 0.8667 GB, free: 1.004 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.0005898/0.7747, allocations: 166.7 kB / 0.8669 GB, free: 0.8398 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003799/0.7785, allocations: 1.342 MB / 0.8682 GB, free: 15.49 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002003/0.7805, allocations: 0.6542 MB / 0.8689 GB, free: 14.83 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001407/0.7819, allocations: 0.7757 MB / 0.8696 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004948/0.7824, allocations: 238.6 kB / 0.8698 GB, free: 13.83 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001591/0.784, allocations: 0.5994 MB / 0.8704 GB, free: 13.23 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001132/0.7851, allocations: 450.4 kB / 0.8709 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 5.931e-05/0.7852, allocations: 28 kB / 0.8709 GB, free: 12.76 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003235/0.7884, allocations: 1.364 MB / 0.8722 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002047/0.7886, allocations: 123.6 kB / 0.8723 GB, free: 11.27 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002832/0.7889, allocations: 175.1 kB / 0.8725 GB, free: 11.1 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002571/0.7915, allocations: 0.9147 MB / 0.8734 GB, free: 10.19 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 9.608e-06/0.7915, allocations: 3.984 kB / 0.8734 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.894e-06/0.7915, allocations: 0 / 0.8734 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.854e-05/0.7915, allocations: 0 / 0.8734 GB, free: 10.18 MB / 0.6387 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.001261/0.7928, allocations: 0.6329 MB / 0.874 GB, free: 9.52 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.515e-05/0.7928, allocations: 16.02 kB / 0.874 GB, free: 9.504 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.7939, allocations: 139.5 kB / 0.8742 GB, free: 9.371 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006018/0.7945, allocations: 279.5 kB / 0.8744 GB, free: 9.074 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.719e-05/0.7946, allocations: 50.3 kB / 0.8745 GB, free: 9.02 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.039e-05/0.7947, allocations: 28 kB / 0.8745 GB, free: 8.992 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007304/0.7954, allocations: 367.3 kB / 0.8749 GB, free: 8.609 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.317e-05/0.7954, allocations: 0 / 0.8749 GB, free: 8.609 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.591e-05/0.7955, allocations: 16 kB / 0.8749 GB, free: 8.594 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.931e-05/0.7955, allocations: 7.938 kB / 0.8749 GB, free: 8.586 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005707/0.796, allocations: 273.7 kB / 0.8751 GB, free: 8.316 MB / 0.6387 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.002139/0.7982, allocations: 1.438 MB / 0.8765 GB, free: 6.762 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004449/0.7986, allocations: 202.4 kB / 0.8767 GB, free: 6.555 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002334/0.7989, allocations: 108.8 kB / 0.8768 GB, free: 6.445 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008363/0.7997, allocations: 139.9 kB / 0.877 GB, free: 6.309 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.79e-05/0.7997, allocations: 34.55 kB / 0.877 GB, free: 6.266 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=15): time 2.204e-06/0.7997, allocations: 0 / 0.877 GB, free: 6.266 MB / 0.6387 GB Notification: Performance of matching and sorting (n=15): time 0.001057/0.8008, allocations: 353.3 kB / 0.8773 GB, free: 5.914 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.832e-05/0.8008, allocations: 55.41 kB / 0.8774 GB, free: 5.848 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003671/0.8012, allocations: 320.4 kB / 0.8777 GB, free: 5.531 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.539e-05/0.8012, allocations: 29.7 kB / 0.8777 GB, free: 5.496 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001709/0.8014, allocations: 188.4 kB / 0.8779 GB, free: 5.305 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 5.67e-05/0.8015, allocations: 51.53 kB / 0.878 GB, free: 5.254 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.284e-05/0.8016, allocations: 45.64 kB / 0.878 GB, free: 5.203 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001786/0.8017, allocations: 350.7 kB / 0.8783 GB, free: 4.852 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000215/0.802, allocations: 87.92 kB / 0.8784 GB, free: 4.766 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002685/0.8022, allocations: 149.9 kB / 0.8786 GB, free: 4.598 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004584/0.8027, allocations: 236.4 kB / 0.8788 GB, free: 4.348 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/0.8027, allocations: 0 / 0.8788 GB, free: 4.348 MB / 0.6387 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006216/0.8033, allocations: 289.2 kB / 0.8791 GB, free: 4.059 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.077e-05/0.8033, allocations: 8 kB / 0.8791 GB, free: 4.051 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.8033, allocations: 0 / 0.8791 GB, free: 4.051 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.17e-05/0.8034, allocations: 4 kB / 0.8791 GB, free: 4.047 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002499/0.8036, allocations: 39.91 kB / 0.8791 GB, free: 4.008 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.8036, allocations: 4 kB / 0.8791 GB, free: 4.004 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002339/0.8039, allocations: 39.95 kB / 0.8792 GB, free: 3.965 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.948e-05/0.8039, allocations: 8 kB / 0.8792 GB, free: 3.957 MB / 0.6387 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.0001991/0.8041, allocations: 159.7 kB / 0.8793 GB, free: 3.793 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001105/0.8042, allocations: 27.81 kB / 0.8793 GB, free: 3.766 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007632/0.805, allocations: 308.3 kB / 0.8796 GB, free: 3.465 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-06/0.805, allocations: 5.188 kB / 0.8796 GB, free: 3.461 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.805, allocations: 0 / 0.8796 GB, free: 3.461 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.805, allocations: 0 / 0.8796 GB, free: 3.461 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001492/0.8065, allocations: 0.7839 MB / 0.8804 GB, free: 2.605 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/0.8065, allocations: 4 kB / 0.8804 GB, free: 2.602 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001934/0.8067, allocations: 35.97 kB / 0.8804 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.107e-06/0.8067, allocations: 7.938 kB / 0.8805 GB, free: 2.559 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.203e-05/0.8067, allocations: 4 kB / 0.8805 GB, free: 2.555 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.638e-06/0.8067, allocations: 8.812 kB / 0.8805 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.693e-06/0.8067, allocations: 0 / 0.8805 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006952/0.8074, allocations: 410 kB / 0.8809 GB, free: 2.109 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001601/0.8076, allocations: 67.66 kB / 0.8809 GB, free: 2.043 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.879e-05/0.8076, allocations: 3.984 kB / 0.8809 GB, free: 2.039 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000242/0.8079, allocations: 15.98 kB / 0.8809 GB, free: 2.023 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.453e-05/0.8079, allocations: 11.98 kB / 0.881 GB, free: 2.012 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.323e-05/0.808, allocations: 19.61 kB / 0.881 GB, free: 1.996 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000252/0.8082, allocations: 227.1 kB / 0.8812 GB, free: 1.777 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8.1e-08/0.8082, allocations: 0 / 0.8812 GB, free: 1.777 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005485/0.8088, allocations: 123.7 kB / 0.8813 GB, free: 1.656 MB / 0.6387 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.0006359/0.8094, allocations: 238 kB / 0.8815 GB, free: 1.43 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0005685/0.81, allocations: 216 kB / 0.8817 GB, free: 1.219 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.076e-06/0.81, allocations: 0 / 0.8817 GB, free: 1.219 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000254/0.8102, allocations: 111.8 kB / 0.8818 GB, free: 1.109 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008877/0.8111, allocations: 152.5 kB / 0.882 GB, free: 0.9648 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001193/0.8123, allocations: 0.6011 MB / 0.8826 GB, free: 316 kB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004781/0.8128, allocations: 0.7872 MB / 0.8833 GB, free: 15.5 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002675/0.8131, allocations: 87.52 kB / 0.8834 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.846e-05/0.8132, allocations: 35.42 kB / 0.8835 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of SimCode: time 4.3e-07/0.8132, allocations: 4 kB / 0.8835 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of Templates: time 0.01538/0.8285, allocations: 7.437 MB / 0.8907 GB, free: 8.035 MB / 0.6544 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 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.38430105894804] Failed to read output from testmodel.py, exit status != 0: 0.8373981155455112 0.854354178 0.059372177000000005 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f7a847457b0>