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.001412/0.001411, allocations: 105.7 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.001458/0.001458, allocations: 189.8 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.397/1.397, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8177/0.8177, allocations: 135.1 MB / 426.2 MB, free: 4.203 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001529/0.001529, allocations: 64.14 kB / 0.506 GB, free: 8.41 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4209/0.4225, allocations: 80.9 MB / 0.585 GB, free: 25.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1824/0.605, allocations: 169.4 MB / 0.7505 GB, free: 0.707 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4238/1.029, allocations: 7.122 MB / 0.7574 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005107/1.029, allocations: 13.56 kB / 0.7574 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000515/1.03, allocations: 175.8 kB / 0.7576 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003191/1.033, allocations: 1.26 MB / 0.7588 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001734/1.035, allocations: 0.6266 MB / 0.7594 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008275/1.036, allocations: 0.7604 MB / 0.7602 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004865/1.036, allocations: 294.2 kB / 0.7605 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001189/1.037, allocations: 0.5656 MB / 0.761 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009353/1.038, allocations: 422.2 kB / 0.7614 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.264e-05/1.038, allocations: 25.62 kB / 0.7614 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002781/1.041, allocations: 1.243 MB / 0.7627 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001688/1.041, allocations: 117.4 kB / 0.7628 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002631/1.042, allocations: 181.2 kB / 0.7629 GB, free: 1.609 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001871/1.044, allocations: 0.9012 MB / 0.7638 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/1.044, allocations: 0.75 kB / 0.7638 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.546e-06/1.044, allocations: 0 / 0.7638 GB, free: 1.559 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.867e-06/1.044, allocations: 2.094 kB / 0.7638 GB, free: 1.559 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.001319/1.045, allocations: 0.6912 MB / 0.7645 GB, free: 17.06 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/1.045, allocations: 11.39 kB / 0.7645 GB, free: 17.06 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/1.046, allocations: 128.4 kB / 0.7646 GB, free: 17.04 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005302/1.047, allocations: 326.5 kB / 0.7649 GB, free: 16.81 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.839e-05/1.047, allocations: 53.08 kB / 0.765 GB, free: 16.78 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.807e-05/1.047, allocations: 27.47 kB / 0.765 GB, free: 16.78 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007691/1.048, allocations: 370.3 kB / 0.7654 GB, free: 16.7 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/1.048, allocations: 0.5 kB / 0.7654 GB, free: 16.7 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.599e-05/1.048, allocations: 13.72 kB / 0.7654 GB, free: 16.7 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.738e-05/1.048, allocations: 6.906 kB / 0.7654 GB, free: 16.7 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006186/1.048, allocations: 273.9 kB / 0.7657 GB, free: 16.7 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.001957/1.05, allocations: 1.498 MB / 0.7671 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003693/1.051, allocations: 195.2 kB / 0.7673 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001929/1.051, allocations: 118.6 kB / 0.7674 GB, free: 15.69 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001021/1.052, allocations: 0.504 MB / 0.7679 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/1.052, allocations: 33.16 kB / 0.7679 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.804e-06/1.052, allocations: 0.8125 kB / 0.7679 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.001058/1.053, allocations: 362.3 kB / 0.7683 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.94e-05/1.053, allocations: 53.75 kB / 0.7683 GB, free: 15.07 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004021/1.054, allocations: 313.2 kB / 0.7686 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.193e-05/1.054, allocations: 28.83 kB / 0.7687 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/1.054, allocations: 186.8 kB / 0.7688 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.897e-05/1.054, allocations: 47.84 kB / 0.7689 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.652e-05/1.054, allocations: 53.06 kB / 0.7689 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001295/1.054, allocations: 338.8 kB / 0.7693 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001842/1.054, allocations: 86.45 kB / 0.7694 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002151/1.054, allocations: 148 kB / 0.7695 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004182/1.055, allocations: 240.7 kB / 0.7697 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/1.055, allocations: 2.719 kB / 0.7697 GB, free: 14.34 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005351/1.055, allocations: 282 kB / 0.77 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.795e-05/1.055, allocations: 7.5 kB / 0.77 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/1.055, allocations: 0 / 0.77 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/1.055, allocations: 4.969 kB / 0.77 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002248/1.056, allocations: 46.72 kB / 0.77 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.456e-06/1.056, allocations: 4.312 kB / 0.7701 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002252/1.056, allocations: 30.41 kB / 0.7701 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.586e-05/1.056, allocations: 13 kB / 0.7701 GB, free: 14.28 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.0001693/1.056, allocations: 156.8 kB / 0.7702 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/1.056, allocations: 31.72 kB / 0.7703 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006697/1.057, allocations: 318.8 kB / 0.7706 GB, free: 14.1 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/1.057, allocations: 6.359 kB / 0.7706 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/1.057, allocations: 0.9688 kB / 0.7706 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.516e-06/1.057, allocations: 3.938 kB / 0.7706 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001284/1.058, allocations: 0.8053 MB / 0.7714 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/1.058, allocations: 3 kB / 0.7714 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001979/1.058, allocations: 41.86 kB / 0.7714 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.195e-06/1.058, allocations: 3.25 kB / 0.7714 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/1.058, allocations: 8.25 kB / 0.7714 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/1.058, allocations: 3.656 kB / 0.7714 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/1.058, allocations: 2.344 kB / 0.7714 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006267/1.059, allocations: 398.8 kB / 0.7718 GB, free: 13.53 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001582/1.059, allocations: 137.8 kB / 0.7719 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.965e-05/1.059, allocations: 10.94 kB / 0.772 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/1.06, allocations: 14.95 kB / 0.772 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.316e-05/1.06, allocations: 17.53 kB / 0.772 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.352e-05/1.06, allocations: 16.25 kB / 0.772 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002306/1.06, allocations: 222 kB / 0.7722 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/1.06, allocations: 0.9062 kB / 0.7722 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006656/1.061, allocations: 122.3 kB / 0.7723 GB, free: 13.32 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.0006539/1.061, allocations: 231.1 kB / 0.7726 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005883/1.062, allocations: 228.8 kB / 0.7728 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/1.062, allocations: 1 kB / 0.7728 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002486/1.062, allocations: 122.4 kB / 0.7729 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009302/1.063, allocations: 164.4 kB / 0.773 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001184/1.064, allocations: 0.636 MB / 0.7737 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/1.065, allocations: 0.7848 MB / 0.7744 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/1.065, allocations: 32.09 kB / 0.7745 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of SimCode: time 2.71e-07/1.065, allocations: 1 kB / 0.7745 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of Templates: time 0.008955/1.074, allocations: 6.252 MB / 0.7806 GB, free: 11.72 MB / 0.5919 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)