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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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-master/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_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001065/0.001065, allocations: 172.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7812/0.7812, allocations: 133.6 MB / 141.6 MB, free: 2.902 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.617/1.617, allocations: 221.5 MB / 395.5 MB, free: 10.79 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.0009627/0.0009628, allocations: 94.67 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.236e-05/2.237e-05, allocations: 4 kB / 0.5535 GB, free: 9.07 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5107/0.5107, allocations: 82.3 MB / 0.6338 GB, free: 40.78 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.035/5.546, allocations: 1.831 GB / 2.465 GB, free: 209.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002484/5.547, allocations: 88.67 kB / 2.465 GB, free: 209.2 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.154/6.701, allocations: 302.8 MB / 2.761 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.114e-06/6.701, allocations: 0 / 2.761 GB, free: 173.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.983e-05/6.701, allocations: 12 kB / 2.761 GB, free: 173.8 MB / 0.6823 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.002052/6.703, allocations: 0.7055 MB / 2.762 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.959e-05/6.703, allocations: 12.03 kB / 2.762 GB, free: 173.1 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001304/6.705, allocations: 123.4 kB / 2.762 GB, free: 173 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007246/6.705, allocations: 341.2 kB / 2.762 GB, free: 172.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.68e-05/6.705, allocations: 46.25 kB / 2.762 GB, free: 172.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.191e-05/6.705, allocations: 16 kB / 2.762 GB, free: 172.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003875/6.706, allocations: 205 kB / 2.762 GB, free: 172.4 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004355/6.706, allocations: 297.1 kB / 2.763 GB, free: 172.1 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/6.706, allocations: 0 / 2.763 GB, free: 172.1 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.069e-05/6.706, allocations: 3.953 kB / 2.763 GB, free: 172 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/6.706, allocations: 15.98 kB / 2.763 GB, free: 172 MB / 0.6823 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.00165/6.708, allocations: 1.386 MB / 2.764 GB, free: 170.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002463/6.708, allocations: 170.5 kB / 2.764 GB, free: 170.4 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001077/6.708, allocations: 85.09 kB / 2.764 GB, free: 170.3 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00075/6.709, allocations: 0.4975 MB / 2.765 GB, free: 169.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/6.709, allocations: 46.5 kB / 2.765 GB, free: 169.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=15): time 1.582e-06/6.709, allocations: 0 / 2.765 GB, free: 169.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=15): time 0.0009067/6.71, allocations: 262.9 kB / 2.765 GB, free: 169.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.328e-05/6.71, allocations: 55.34 kB / 2.765 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/6.71, allocations: 190.1 kB / 2.765 GB, free: 169.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.698e-05/6.71, allocations: 25.7 kB / 2.765 GB, free: 169.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/6.71, allocations: 195.9 kB / 2.765 GB, free: 168.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.607e-05/6.711, allocations: 55.23 kB / 2.765 GB, free: 168.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.199e-05/6.711, allocations: 4 kB / 2.765 GB, free: 168.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.484e-05/6.711, allocations: 330.8 kB / 2.766 GB, free: 168.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.785e-05/6.711, allocations: 67.95 kB / 2.766 GB, free: 168.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001141/6.711, allocations: 125.2 kB / 2.766 GB, free: 168.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003922/6.711, allocations: 131 kB / 2.766 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/6.711, allocations: 3.953 kB / 2.766 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006305/6.712, allocations: 273.1 kB / 2.766 GB, free: 167.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/6.712, allocations: 6.219 kB / 2.766 GB, free: 167.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/6.712, allocations: 8 kB / 2.766 GB, free: 167.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/6.712, allocations: 0 / 2.766 GB, free: 167.9 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002212/6.712, allocations: 51.91 kB / 2.766 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.265e-06/6.712, allocations: 3.984 kB / 2.766 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00023/6.712, allocations: 27.89 kB / 2.766 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.531e-05/6.713, allocations: 23.98 kB / 2.766 GB, free: 167.8 MB / 0.6823 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 8.447e-05/6.713, allocations: 104.9 kB / 2.767 GB, free: 167.7 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.494e-05/6.713, allocations: 27.67 kB / 2.767 GB, free: 167.6 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005911/6.713, allocations: 279.5 kB / 2.767 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/6.713, allocations: 3.938 kB / 2.767 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/6.713, allocations: 0 / 2.767 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/6.713, allocations: 3.984 kB / 2.767 GB, free: 167.4 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001733/6.715, allocations: 1.225 MB / 2.768 GB, free: 166 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.599e-06/6.715, allocations: 4 kB / 2.768 GB, free: 166 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001784/6.715, allocations: 39.92 kB / 2.768 GB, free: 165.9 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.317e-06/6.715, allocations: 4 kB / 2.768 GB, free: 165.9 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.034e-05/6.715, allocations: 8.328 kB / 2.768 GB, free: 165.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.9e-06/6.715, allocations: 8 kB / 2.768 GB, free: 165.9 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.501e-06/6.715, allocations: 7.938 kB / 2.768 GB, free: 165.9 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005678/6.716, allocations: 0.5199 MB / 2.769 GB, free: 165.3 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001164/6.716, allocations: 128.7 kB / 2.769 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.065e-05/6.716, allocations: 7.938 kB / 2.769 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002728/6.716, allocations: 27.97 kB / 2.769 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.565e-05/6.716, allocations: 19.94 kB / 2.769 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.571e-05/6.716, allocations: 11.98 kB / 2.769 GB, free: 165.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001063/6.717, allocations: 158 kB / 2.769 GB, free: 164.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.2e-07/6.717, allocations: 0 / 2.769 GB, free: 164.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0008015/6.717, allocations: 195.7 kB / 2.769 GB, free: 164.7 MB / 0.6823 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.002165/6.72, allocations: 1.392 MB / 2.77 GB, free: 163.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003138/6.72, allocations: 171.8 kB / 2.771 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/6.72, allocations: 384 / 2.771 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001264/6.72, allocations: 99.83 kB / 2.771 GB, free: 163.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005788/6.721, allocations: 93.7 kB / 2.771 GB, free: 163.1 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007343/6.721, allocations: 416.7 kB / 2.771 GB, free: 162.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002671/6.722, allocations: 0.7951 MB / 2.772 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0002769/6.722, allocations: 65.97 kB / 2.772 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.871e-05/6.722, allocations: 23.44 kB / 2.772 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of SimCode: time 2.5e-07/6.722, allocations: 0 / 2.772 GB, free: 161.8 MB / 0.6823 GB Notification: Performance of Templates: time 0.01805/6.74, allocations: 11.79 MB / 2.784 GB, free: 150 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.makefile (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)