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.0007914/0.0007914, allocations: 91.77 kB / 15.36 MB, free: 0.7383 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.005533/0.005533, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.396/1.396, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7651/0.7651, allocations: 132.3 MB / 423.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003457/0.0003457, allocations: 8 kB / 0.504 GB, free: 3.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5363/0.5367, allocations: 81.58 MB / 0.5837 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1953/0.732, allocations: 165 MB / 0.7448 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009004/0.7411, allocations: 7.11 MB / 0.7518 GB, free: 3.711 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005616/0.7417, allocations: 11.94 kB / 0.7518 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000651/0.7424, allocations: 131.1 kB / 0.7519 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003409/0.7458, allocations: 1.195 MB / 0.7531 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001691/0.7475, allocations: 0.5704 MB / 0.7536 GB, free: 1.809 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001299/0.7488, allocations: 1.056 MB / 0.7547 GB, free: 0.7461 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005457/0.7494, allocations: 246 kB / 0.7549 GB, free: 0.5078 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001363/0.7508, allocations: 0.5253 MB / 0.7554 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009598/0.7517, allocations: 426.5 kB / 0.7558 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.42e-05/0.7518, allocations: 16 kB / 0.7558 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002576/0.7544, allocations: 1.469 MB / 0.7573 GB, free: 14.07 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001588/0.7546, allocations: 95.7 kB / 0.7574 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002538/0.7548, allocations: 192.8 kB / 0.7575 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001811/0.7567, allocations: 0.9737 MB / 0.7585 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.7567, allocations: 0 / 0.7585 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.164e-06/0.7567, allocations: 4 kB / 0.7585 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.54e-05/0.7567, allocations: 4 kB / 0.7585 GB, free: 12.8 MB / 0.5919 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.00118/0.7579, allocations: 0.6273 MB / 0.7591 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.717e-05/0.7579, allocations: 8.031 kB / 0.7591 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.7591, allocations: 135.3 kB / 0.7592 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004971/0.7596, allocations: 321.2 kB / 0.7595 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.663e-05/0.7597, allocations: 54.25 kB / 0.7596 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.943e-05/0.7598, allocations: 28 kB / 0.7596 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007046/0.7605, allocations: 374.1 kB / 0.76 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.714e-05/0.7605, allocations: 4 kB / 0.76 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.957e-05/0.7605, allocations: 11.94 kB / 0.76 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.102e-05/0.7606, allocations: 8 kB / 0.76 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005465/0.7611, allocations: 282 kB / 0.7603 GB, free: 10.86 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.00175/0.7629, allocations: 1.511 MB / 0.7618 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003718/0.7633, allocations: 194.6 kB / 0.7619 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002158/0.7635, allocations: 128.8 kB / 0.7621 GB, free: 8.895 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009483/0.7644, allocations: 0.5092 MB / 0.7626 GB, free: 8.293 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.848e-05/0.7645, allocations: 38.56 kB / 0.7626 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.563e-06/0.7645, allocations: 3.938 kB / 0.7626 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0009366/0.7654, allocations: 377 kB / 0.763 GB, free: 7.867 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.456e-05/0.7655, allocations: 55.41 kB / 0.763 GB, free: 7.801 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003048/0.7658, allocations: 312.5 kB / 0.7633 GB, free: 7.488 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.946e-05/0.7658, allocations: 33.7 kB / 0.7633 GB, free: 7.449 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001273/0.766, allocations: 188 kB / 0.7635 GB, free: 7.262 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.448e-05/0.766, allocations: 51.34 kB / 0.7636 GB, free: 7.211 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.243e-05/0.7661, allocations: 17.72 kB / 0.7636 GB, free: 7.188 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.7662, allocations: 342.8 kB / 0.7639 GB, free: 6.844 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001957/0.7664, allocations: 95.92 kB / 0.764 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002357/0.7666, allocations: 151.4 kB / 0.7641 GB, free: 6.582 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004213/0.7671, allocations: 257.8 kB / 0.7644 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.7671, allocations: 0 / 0.7644 GB, free: 6.309 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005755/0.7677, allocations: 289.2 kB / 0.7647 GB, free: 6.02 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.756e-05/0.7677, allocations: 12.03 kB / 0.7647 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.7677, allocations: 0 / 0.7647 GB, free: 6.008 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.561e-05/0.7677, allocations: 4 kB / 0.7647 GB, free: 6.004 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000227/0.7679, allocations: 43.91 kB / 0.7647 GB, free: 5.961 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.163e-05/0.768, allocations: 4 kB / 0.7647 GB, free: 5.957 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002328/0.7682, allocations: 43.67 kB / 0.7648 GB, free: 5.914 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.903e-05/0.7683, allocations: 11.98 kB / 0.7648 GB, free: 5.902 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.0001532/0.7684, allocations: 157.7 kB / 0.7649 GB, free: 5.738 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.886e-05/0.7685, allocations: 27.72 kB / 0.765 GB, free: 5.711 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007191/0.7692, allocations: 327.6 kB / 0.7653 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.7693, allocations: 4 kB / 0.7653 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.7693, allocations: 0 / 0.7653 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.7693, allocations: 4.031 kB / 0.7653 GB, free: 5.383 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/0.7705, allocations: 0.8083 MB / 0.7661 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.799e-06/0.7705, allocations: 12.16 kB / 0.7661 GB, free: 4.484 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001852/0.7707, allocations: 43.91 kB / 0.7661 GB, free: 4.441 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.869e-06/0.7707, allocations: 4 kB / 0.7661 GB, free: 4.438 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.714e-05/0.7708, allocations: 4 kB / 0.7661 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.575e-06/0.7708, allocations: 0 / 0.7661 GB, free: 4.434 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.626e-06/0.7708, allocations: 4 kB / 0.7661 GB, free: 4.43 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005851/0.7714, allocations: 416.9 kB / 0.7665 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001244/0.7715, allocations: 132.6 kB / 0.7667 GB, free: 3.836 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.38e-05/0.7715, allocations: 8 kB / 0.7667 GB, free: 3.828 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002592/0.7718, allocations: 23.98 kB / 0.7667 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.241e-05/0.7719, allocations: 27.91 kB / 0.7667 GB, free: 3.777 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.405e-05/0.7719, allocations: 8 kB / 0.7667 GB, free: 3.77 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002221/0.7721, allocations: 227 kB / 0.7669 GB, free: 3.547 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3e-07/0.7721, allocations: 96 / 0.7669 GB, free: 3.547 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005235/0.7727, allocations: 131.7 kB / 0.7671 GB, free: 3.418 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.0005933/0.7733, allocations: 234.2 kB / 0.7673 GB, free: 3.191 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000518/0.7738, allocations: 223.7 kB / 0.7675 GB, free: 2.973 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.7738, allocations: 384 / 0.7675 GB, free: 2.973 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002382/0.7741, allocations: 123.8 kB / 0.7676 GB, free: 2.852 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009764/0.775, allocations: 157.2 kB / 0.7678 GB, free: 2.703 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00106/0.7761, allocations: 0.7191 MB / 0.7685 GB, free: 1.934 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003528/0.7765, allocations: 0.7836 MB / 0.7692 GB, free: 1.121 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002838/0.7768, allocations: 90.03 kB / 0.7693 GB, free: 1.039 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.416e-05/0.7769, allocations: 27.44 kB / 0.7694 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of SimCode: time 3.81e-07/0.7769, allocations: 0 / 0.7694 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of Templates: time 0.01238/0.7893, allocations: 6.956 MB / 0.7761 GB, free: 10.15 MB / 0.6075 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)