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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 101.1 kB / 16.27 MB, free: 6.414 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 190.3 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7905/0.7905, allocations: 132.2 MB / 423.2 MB, free: 6.711 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 63.91 kB / 0.5024 GB, free: 11.71 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.382/0.3834, allocations: 80.18 MB / 0.5807 GB, free: 27.45 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1858/0.5693, allocations: 169.4 MB / 0.7462 GB, free: 4.434 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4252/0.9945, allocations: 7.131 MB / 0.7532 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005878/0.9952, allocations: 14.84 kB / 0.7532 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005339/0.9957, allocations: 170.3 kB / 0.7533 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003348/0.9991, allocations: 1.264 MB / 0.7546 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001538/1.001, allocations: 0.629 MB / 0.7552 GB, free: 1.742 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007856/1.001, allocations: 0.7621 MB / 0.7559 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004266/1.002, allocations: 288.7 kB / 0.7562 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001104/1.003, allocations: 0.5712 MB / 0.7568 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008426/1.004, allocations: 418.2 kB / 0.7572 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.947e-05/1.004, allocations: 27.31 kB / 0.7572 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002587/1.007, allocations: 1.242 MB / 0.7584 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001709/1.007, allocations: 118.9 kB / 0.7585 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002528/1.007, allocations: 178.2 kB / 0.7587 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001917/1.009, allocations: 0.9001 MB / 0.7596 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/1.009, allocations: 0.5625 kB / 0.7596 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.71e-07/1.009, allocations: 1.203 kB / 0.7596 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.899e-06/1.009, allocations: 1.75 kB / 0.7596 GB, free: 1.652 MB / 0.5762 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.001242/1.01, allocations: 0.6903 MB / 0.7602 GB, free: 17.16 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/1.01, allocations: 10.59 kB / 0.7603 GB, free: 17.16 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001069/1.011, allocations: 128.6 kB / 0.7604 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004467/1.012, allocations: 325.7 kB / 0.7607 GB, free: 16.91 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.969e-05/1.012, allocations: 49.42 kB / 0.7607 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.044e-05/1.012, allocations: 29.78 kB / 0.7608 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007093/1.013, allocations: 366.2 kB / 0.7611 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/1.013, allocations: 1.719 kB / 0.7611 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.624e-05/1.013, allocations: 12.34 kB / 0.7611 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.572e-05/1.013, allocations: 6.656 kB / 0.7611 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006241/1.013, allocations: 275.5 kB / 0.7614 GB, free: 16.8 MB / 0.5919 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.002038/1.015, allocations: 1.501 MB / 0.7629 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004855/1.016, allocations: 193 kB / 0.763 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002797/1.016, allocations: 125.1 kB / 0.7632 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001074/1.017, allocations: 0.4997 MB / 0.7637 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.343e-05/1.017, allocations: 35.61 kB / 0.7637 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.833e-06/1.017, allocations: 0.9062 kB / 0.7637 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0009157/1.018, allocations: 356 kB / 0.764 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.615e-05/1.018, allocations: 60.78 kB / 0.7641 GB, free: 15.17 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002877/1.019, allocations: 315.1 kB / 0.7644 GB, free: 15.06 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.869e-05/1.019, allocations: 25.7 kB / 0.7644 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000119/1.019, allocations: 185.4 kB / 0.7646 GB, free: 14.92 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.078e-05/1.019, allocations: 50.86 kB / 0.7646 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.612e-05/1.019, allocations: 50.42 kB / 0.7647 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001173/1.019, allocations: 342 kB / 0.765 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/1.019, allocations: 88.31 kB / 0.7651 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/1.019, allocations: 148.5 kB / 0.7652 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004242/1.02, allocations: 244.8 kB / 0.7655 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/1.02, allocations: 3.938 kB / 0.7655 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005254/1.02, allocations: 276.9 kB / 0.7657 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.82e-05/1.02, allocations: 8.094 kB / 0.7657 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/1.02, allocations: 2.469 kB / 0.7657 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/1.021, allocations: 4.438 kB / 0.7658 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002552/1.021, allocations: 41.73 kB / 0.7658 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/1.021, allocations: 2.406 kB / 0.7658 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002135/1.021, allocations: 37.89 kB / 0.7658 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.123e-05/1.021, allocations: 9.5 kB / 0.7658 GB, free: 14.38 MB / 0.5919 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.0001615/1.021, allocations: 155.5 kB / 0.766 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001175/1.021, allocations: 30.78 kB / 0.766 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007904/1.022, allocations: 314 kB / 0.7663 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/1.022, allocations: 2.938 kB / 0.7663 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/1.022, allocations: 1.062 kB / 0.7663 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/1.022, allocations: 0 / 0.7663 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001305/1.023, allocations: 0.8104 MB / 0.7671 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.077e-06/1.024, allocations: 2.375 kB / 0.7671 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001913/1.024, allocations: 33.02 kB / 0.7671 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/1.024, allocations: 4.406 kB / 0.7671 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.402e-05/1.024, allocations: 14.22 kB / 0.7672 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.699e-06/1.024, allocations: 5.75 kB / 0.7672 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/1.024, allocations: 3.625 kB / 0.7672 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00059/1.024, allocations: 394.5 kB / 0.7675 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/1.025, allocations: 136.9 kB / 0.7677 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.363e-05/1.025, allocations: 13.38 kB / 0.7677 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002395/1.025, allocations: 14.42 kB / 0.7677 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.671e-05/1.025, allocations: 21.27 kB / 0.7677 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.991e-05/1.025, allocations: 10.28 kB / 0.7677 GB, free: 13.52 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002541/1.025, allocations: 227.3 kB / 0.768 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/1.025, allocations: 0.9375 kB / 0.768 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006346/1.026, allocations: 122.2 kB / 0.7681 GB, free: 13.43 MB / 0.5919 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.0005641/1.026, allocations: 238.4 kB / 0.7683 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004663/1.027, allocations: 221.5 kB / 0.7685 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/1.027, allocations: 0 / 0.7685 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002008/1.027, allocations: 115.5 kB / 0.7686 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008406/1.028, allocations: 168.1 kB / 0.7688 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00109/1.029, allocations: 0.6352 MB / 0.7694 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/1.029, allocations: 0.7832 MB / 0.7702 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/1.03, allocations: 36.34 kB / 0.7702 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of SimCode: time 2.41e-07/1.03, allocations: 0.875 kB / 0.7702 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of Templates: time 0.008576/1.038, allocations: 6.253 MB / 0.7763 GB, free: 11.86 MB / 0.5919 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.makefile (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)