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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001467/0.001467, allocations: 107.9 kB / 16.41 MB, free: 6.477 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.001298/0.001298, allocations: 185.6 kB / 17.34 MB, free: 5.746 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.439/1.439, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8786/0.8786, allocations: 135.2 MB / 426.4 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001946/0.001946, allocations: 72.78 kB / 0.5864 GB, free: 21.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1835/0.1854, allocations: 80.92 MB / 0.6654 GB, free: 5.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.6294/0.8148, allocations: 169.9 MB / 0.8313 GB, free: 13.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009894/0.8247, allocations: 7.144 MB / 0.8383 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006561/0.8254, allocations: 15.47 kB / 0.8383 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006957/0.8261, allocations: 173.1 kB / 0.8384 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003895/0.83, allocations: 1.307 MB / 0.8397 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001993/0.832, allocations: 0.6299 MB / 0.8403 GB, free: 6.438 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.001186/0.8331, allocations: 0.7632 MB / 0.8411 GB, free: 6 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004651/0.8336, allocations: 245 kB / 0.8413 GB, free: 5.848 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001417/0.835, allocations: 0.5905 MB / 0.8419 GB, free: 5.48 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001019/0.836, allocations: 436.2 kB / 0.8423 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.068e-05/0.8361, allocations: 25.75 kB / 0.8423 GB, free: 5.227 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002748/0.8388, allocations: 1.249 MB / 0.8436 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0002686/0.8391, allocations: 123.2 kB / 0.8437 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003364/0.8394, allocations: 176.5 kB / 0.8438 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002877/0.8423, allocations: 0.9121 MB / 0.8447 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 9.318e-06/0.8423, allocations: 0 / 0.8447 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.983e-06/0.8423, allocations: 0 / 0.8447 GB, free: 3.777 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.032e-05/0.8423, allocations: 0 / 0.8447 GB, free: 3.777 MB / 0.6075 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.00146/0.8438, allocations: 0.7154 MB / 0.8454 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.8439, allocations: 8.453 kB / 0.8454 GB, free: 3.145 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/0.8449, allocations: 133.8 kB / 0.8456 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005904/0.8455, allocations: 346.1 kB / 0.8459 GB, free: 2.758 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.589e-05/0.8456, allocations: 51.02 kB / 0.8459 GB, free: 2.715 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.724e-05/0.8457, allocations: 29.61 kB / 0.846 GB, free: 2.703 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007445/0.8464, allocations: 363.1 kB / 0.8463 GB, free: 2.473 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.66e-05/0.8464, allocations: 3.938 kB / 0.8463 GB, free: 2.469 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.75e-05/0.8465, allocations: 16.75 kB / 0.8463 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.29e-05/0.8465, allocations: 9.312 kB / 0.8463 GB, free: 2.453 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005587/0.847, allocations: 276.3 kB / 0.8466 GB, free: 2.324 MB / 0.6075 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.002148/0.8492, allocations: 1.475 MB / 0.848 GB, free: 0.9805 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004129/0.8496, allocations: 189 kB / 0.8482 GB, free: 0.875 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000214/0.8498, allocations: 111.9 kB / 0.8483 GB, free: 0.8164 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001006/0.8508, allocations: 0.5022 MB / 0.8488 GB, free: 304 kB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.117e-05/0.8509, allocations: 36.97 kB / 0.8489 GB, free: 260 kB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.823e-06/0.8509, allocations: 0 / 0.8489 GB, free: 260 kB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0009994/0.8519, allocations: 359.1 kB / 0.8492 GB, free: 72 kB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.8519, allocations: 57.66 kB / 0.8493 GB, free: 4 kB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003792/0.8523, allocations: 317.6 kB / 0.8496 GB, free: 15.79 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.054e-05/0.8523, allocations: 29.7 kB / 0.8496 GB, free: 15.76 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.8525, allocations: 189.4 kB / 0.8498 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 5.359e-05/0.8525, allocations: 51.12 kB / 0.8498 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.212e-05/0.8526, allocations: 47.3 kB / 0.8499 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001815/0.8528, allocations: 346 kB / 0.8502 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001937/0.853, allocations: 83.67 kB / 0.8503 GB, free: 15.13 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002578/0.8533, allocations: 146.7 kB / 0.8504 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004476/0.8537, allocations: 245.7 kB / 0.8506 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.8537, allocations: 2 kB / 0.8507 GB, free: 14.86 MB / 0.6231 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005926/0.8543, allocations: 280.2 kB / 0.8509 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.8543, allocations: 4.906 kB / 0.8509 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.8543, allocations: 2.625 kB / 0.8509 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.697e-05/0.8544, allocations: 2.656 kB / 0.8509 GB, free: 14.71 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002206/0.8546, allocations: 45.42 kB / 0.851 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.8546, allocations: 6.734 kB / 0.851 GB, free: 14.7 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002139/0.8548, allocations: 29.78 kB / 0.851 GB, free: 14.68 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.531e-05/0.8548, allocations: 22.23 kB / 0.851 GB, free: 14.67 MB / 0.6231 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.0001862/0.855, allocations: 151.1 kB / 0.8512 GB, free: 14.53 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001108/0.8551, allocations: 35.52 kB / 0.8512 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007203/0.8559, allocations: 306.8 kB / 0.8515 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.849e-06/0.8559, allocations: 6.688 kB / 0.8515 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.8559, allocations: 0 / 0.8515 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.8559, allocations: 0 / 0.8515 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001404/0.8573, allocations: 0.8135 MB / 0.8523 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.8573, allocations: 2.531 kB / 0.8523 GB, free: 13.67 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001752/0.8575, allocations: 38.19 kB / 0.8523 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.674e-06/0.8575, allocations: 6.969 kB / 0.8523 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.982e-05/0.8575, allocations: 8.938 kB / 0.8524 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.8575, allocations: 2.219 kB / 0.8524 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.8575, allocations: 2.906 kB / 0.8524 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006447/0.8581, allocations: 408.2 kB / 0.8527 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000157/0.8583, allocations: 137.4 kB / 0.8529 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.838e-05/0.8583, allocations: 7.812 kB / 0.8529 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002259/0.8586, allocations: 11.64 kB / 0.8529 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.208e-05/0.8586, allocations: 15.73 kB / 0.8529 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.777e-05/0.8587, allocations: 11.48 kB / 0.8529 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.000242/0.8589, allocations: 227.2 kB / 0.8531 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of sort global known variables: time 9e-08/0.8589, allocations: 7.875 kB / 0.8531 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005444/0.8594, allocations: 123.3 kB / 0.8533 GB, free: 13 MB / 0.6231 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.0006214/0.8601, allocations: 230.7 kB / 0.8535 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.000529/0.8606, allocations: 220.9 kB / 0.8537 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.8606, allocations: 0 / 0.8537 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002299/0.8608, allocations: 113.2 kB / 0.8538 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008676/0.8617, allocations: 172.2 kB / 0.854 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001192/0.8629, allocations: 0.632 MB / 0.8546 GB, free: 12.15 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004261/0.8633, allocations: 0.782 MB / 0.8553 GB, free: 11.41 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000113/0.8634, allocations: 38.55 kB / 0.8554 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of SimCode: time 5.01e-07/0.8634, allocations: 3.938 kB / 0.8554 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of Templates: time 0.01056/0.874, allocations: 6.293 MB / 0.8615 GB, free: 5.848 MB / 0.6231 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)