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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 168.8 kB / 7.645 MB, free: 1.434 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8357/0.8357, allocations: 130.7 MB / 138.7 MB, free: 3.594 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.6/1.6, allocations: 221.5 MB / 391.8 MB, free: 14.17 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 94.52 kB / 473.9 MB, free: 4.48 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.795e-05/1.811e-05, allocations: 4 kB / 0.5485 GB, free: 13.04 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5809/0.5809, allocations: 81.57 MB / 0.6282 GB, free: 42.89 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.901/5.482, allocations: 1.831 GB / 2.459 GB, free: 121.9 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002981/5.482, allocations: 89.31 kB / 2.459 GB, free: 121.8 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 1.136/6.618, allocations: 302.8 MB / 2.755 GB, free: 78.71 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.094e-06/6.618, allocations: 0 / 2.755 GB, free: 78.71 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 3.28e-05/6.618, allocations: 12 kB / 2.755 GB, free: 78.7 MB / 0.6667 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.001763/6.619, allocations: 0.705 MB / 2.756 GB, free: 77.94 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.573e-05/6.619, allocations: 16.03 kB / 2.756 GB, free: 77.93 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001056/6.621, allocations: 125.1 kB / 2.756 GB, free: 77.8 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005353/6.621, allocations: 333.9 kB / 2.756 GB, free: 77.44 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.449e-05/6.621, allocations: 42.22 kB / 2.756 GB, free: 77.39 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.852e-05/6.621, allocations: 16 kB / 2.756 GB, free: 77.38 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003403/6.622, allocations: 205.1 kB / 2.756 GB, free: 77.18 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004486/6.622, allocations: 301.1 kB / 2.757 GB, free: 76.87 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/6.622, allocations: 0 / 2.757 GB, free: 76.87 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.119e-05/6.622, allocations: 0 / 2.757 GB, free: 76.87 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/6.622, allocations: 11.98 kB / 2.757 GB, free: 76.86 MB / 0.6667 GB Warning: The model contains alias variables with conflicting start and/or 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.001512/6.624, allocations: 1.391 MB / 2.758 GB, free: 75.35 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002578/6.624, allocations: 162.6 kB / 2.758 GB, free: 75.18 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000117/6.624, allocations: 88.81 kB / 2.758 GB, free: 75.09 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008135/6.625, allocations: 0.5053 MB / 2.759 GB, free: 74.49 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.027e-05/6.625, allocations: 30.56 kB / 2.759 GB, free: 74.45 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=15): time 1.513e-06/6.625, allocations: 0 / 2.759 GB, free: 74.45 MB / 0.6667 GB Notification: Performance of matching and sorting (n=15): time 0.0008742/6.626, allocations: 275.4 kB / 2.759 GB, free: 74.18 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.97e-05/6.626, allocations: 55.44 kB / 2.759 GB, free: 74.11 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/6.626, allocations: 194.1 kB / 2.759 GB, free: 73.91 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/6.626, allocations: 25.7 kB / 2.759 GB, free: 73.88 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/6.626, allocations: 203.9 kB / 2.759 GB, free: 73.68 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 3.694e-05/6.626, allocations: 43.3 kB / 2.76 GB, free: 73.64 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.306e-05/6.626, allocations: 0 / 2.76 GB, free: 73.64 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001059/6.626, allocations: 338.8 kB / 2.76 GB, free: 73.3 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.074e-05/6.626, allocations: 67.95 kB / 2.76 GB, free: 73.23 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001262/6.627, allocations: 127.7 kB / 2.76 GB, free: 73.08 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000386/6.627, allocations: 135.8 kB / 2.76 GB, free: 72.95 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/6.627, allocations: 0 / 2.76 GB, free: 72.95 MB / 0.6667 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006368/6.628, allocations: 269.9 kB / 2.76 GB, free: 72.68 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.312e-05/6.628, allocations: 8 kB / 2.76 GB, free: 72.67 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/6.628, allocations: 0 / 2.76 GB, free: 72.67 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/6.628, allocations: 4 kB / 2.76 GB, free: 72.66 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002236/6.628, allocations: 43.97 kB / 2.76 GB, free: 72.62 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.747e-06/6.628, allocations: 4 kB / 2.76 GB, free: 72.62 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002192/6.628, allocations: 39.95 kB / 2.761 GB, free: 72.58 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.934e-05/6.628, allocations: 11.94 kB / 2.761 GB, free: 72.57 MB / 0.6667 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001/6.628, allocations: 108.9 kB / 2.761 GB, free: 72.45 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.212e-05/6.628, allocations: 23.78 kB / 2.761 GB, free: 72.43 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006076/6.629, allocations: 283.5 kB / 2.761 GB, free: 72.15 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/6.629, allocations: 0 / 2.761 GB, free: 72.15 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.094e-06/6.629, allocations: 0 / 2.761 GB, free: 72.15 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/6.629, allocations: 0 / 2.761 GB, free: 72.15 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001715/6.631, allocations: 1.222 MB / 2.762 GB, free: 70.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/6.631, allocations: 8.297 kB / 2.762 GB, free: 70.77 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001719/6.631, allocations: 43.97 kB / 2.762 GB, free: 70.72 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/6.631, allocations: 4 kB / 2.762 GB, free: 70.72 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.958e-05/6.631, allocations: 8 kB / 2.762 GB, free: 70.71 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.368e-06/6.631, allocations: 3.938 kB / 2.762 GB, free: 70.71 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.34e-06/6.631, allocations: 4 kB / 2.762 GB, free: 70.7 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005618/6.632, allocations: 0.5171 MB / 2.763 GB, free: 70.07 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001001/6.632, allocations: 124.8 kB / 2.763 GB, free: 69.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.128e-05/6.632, allocations: 11.94 kB / 2.763 GB, free: 69.92 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000255/6.632, allocations: 27.92 kB / 2.763 GB, free: 69.89 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.513e-05/6.632, allocations: 31.84 kB / 2.763 GB, free: 69.86 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.429e-05/6.632, allocations: 8 kB / 2.763 GB, free: 69.85 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.000117/6.632, allocations: 157.9 kB / 2.763 GB, free: 69.7 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.3e-07/6.632, allocations: 0 / 2.763 GB, free: 69.7 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0008881/6.633, allocations: 199.6 kB / 2.763 GB, free: 69.5 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002335/6.636, allocations: 1.395 MB / 2.765 GB, free: 68.07 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0003382/6.636, allocations: 171.9 kB / 2.765 GB, free: 67.91 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/6.636, allocations: 0 / 2.765 GB, free: 67.91 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001306/6.636, allocations: 95.81 kB / 2.765 GB, free: 67.81 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006179/6.637, allocations: 94.38 kB / 2.765 GB, free: 67.72 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007515/6.637, allocations: 417 kB / 2.765 GB, free: 67.26 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/6.638, allocations: 0.7951 MB / 2.766 GB, free: 66.44 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0002511/6.638, allocations: 65.92 kB / 2.766 GB, free: 66.38 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.234e-05/6.638, allocations: 27.42 kB / 2.766 GB, free: 66.35 MB / 0.6667 GB Notification: Performance of SimCode: time 2.31e-07/6.638, allocations: 4 kB / 2.766 GB, free: 66.35 MB / 0.6667 GB Notification: Performance of Templates: time 0.01743/6.655, allocations: 11.79 MB / 2.778 GB, free: 54.61 MB / 0.6667 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)