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.001314/0.001314, allocations: 105 kB / 15.99 MB, free: 6.355 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.001482/0.001482, allocations: 192.5 kB / 16.91 MB, free: 6.191 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.336/1.336, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8405/0.8405, allocations: 135.1 MB / 425.9 MB, free: 4.359 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001737/0.001737, allocations: 67.91 kB / 0.5055 GB, free: 8.762 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4011/0.4029, allocations: 80.91 MB / 0.5845 GB, free: 25.11 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1793/0.5822, allocations: 167.2 MB / 0.7478 GB, free: 3.09 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3875/0.9697, allocations: 7.077 MB / 0.7547 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005159/0.9703, allocations: 14 kB / 0.7547 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005058/0.9708, allocations: 141.3 kB / 0.7548 GB, free: 1.781 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002886/0.9737, allocations: 1.188 MB / 0.756 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001475/0.9752, allocations: 0.5933 MB / 0.7566 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000749/0.976, allocations: 0.7653 MB / 0.7573 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003922/0.9764, allocations: 283.8 kB / 0.7576 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00108/0.9775, allocations: 0.5598 MB / 0.7581 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007126/0.9782, allocations: 438.4 kB / 0.7585 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.483e-05/0.9783, allocations: 30.41 kB / 0.7586 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002125/0.9804, allocations: 1.308 MB / 0.7598 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001836/0.9806, allocations: 116.4 kB / 0.76 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002253/0.9808, allocations: 178.9 kB / 0.7601 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001118/0.982, allocations: 0.6259 MB / 0.7607 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.982, allocations: 0.6562 kB / 0.7607 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of FrontEnd: time 4.078e-06/0.982, allocations: 0.9375 kB / 0.7607 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.982, allocations: 5.078 kB / 0.7607 GB, free: 1.629 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.001191/0.9832, allocations: 0.6932 MB / 0.7614 GB, free: 17.13 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.156e-05/0.9832, allocations: 9.891 kB / 0.7614 GB, free: 17.13 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001062/0.9843, allocations: 130.4 kB / 0.7616 GB, free: 17.11 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004218/0.9847, allocations: 323.4 kB / 0.7619 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.34e-05/0.9848, allocations: 51.77 kB / 0.7619 GB, free: 16.85 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.026e-05/0.9849, allocations: 30.03 kB / 0.7619 GB, free: 16.85 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007334/0.9856, allocations: 369.7 kB / 0.7623 GB, free: 16.77 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.133e-05/0.9857, allocations: 0.5625 kB / 0.7623 GB, free: 16.77 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.556e-05/0.9857, allocations: 11.12 kB / 0.7623 GB, free: 16.77 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.279e-05/0.9857, allocations: 8.812 kB / 0.7623 GB, free: 16.77 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005642/0.9863, allocations: 272.6 kB / 0.7626 GB, free: 16.77 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.001892/0.9882, allocations: 1.486 MB / 0.764 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004757/0.9887, allocations: 200 kB / 0.7642 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002613/0.9889, allocations: 116.4 kB / 0.7643 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00112/0.9901, allocations: 0.5064 MB / 0.7648 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.867e-05/0.9901, allocations: 34.16 kB / 0.7648 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.883e-06/0.9901, allocations: 0 / 0.7648 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.001062/0.9912, allocations: 360.4 kB / 0.7652 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.9912, allocations: 53.91 kB / 0.7652 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003722/0.9916, allocations: 316.2 kB / 0.7655 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.17e-05/0.9917, allocations: 29.58 kB / 0.7656 GB, free: 15 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001012/0.9918, allocations: 186 kB / 0.7658 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.857e-05/0.9918, allocations: 46.56 kB / 0.7658 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.737e-05/0.9919, allocations: 51.14 kB / 0.7658 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.992, allocations: 339.2 kB / 0.7662 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.9922, allocations: 86.88 kB / 0.7663 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002029/0.9924, allocations: 148.3 kB / 0.7664 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003655/0.9928, allocations: 239 kB / 0.7666 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.9928, allocations: 0 / 0.7666 GB, free: 14.42 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005625/0.9934, allocations: 287.9 kB / 0.7669 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.9934, allocations: 5.438 kB / 0.7669 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.244e-06/0.9934, allocations: 2.594 kB / 0.7669 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.552e-05/0.9934, allocations: 2.844 kB / 0.7669 GB, free: 14.37 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002574/0.9937, allocations: 48.56 kB / 0.767 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.9937, allocations: 5.031 kB / 0.767 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002539/0.994, allocations: 39.03 kB / 0.767 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.901e-05/0.994, allocations: 19.03 kB / 0.767 GB, free: 14.35 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.0001779/0.9942, allocations: 151 kB / 0.7672 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001159/0.9943, allocations: 31.19 kB / 0.7672 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008176/0.9952, allocations: 314.7 kB / 0.7675 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.9952, allocations: 1.531 kB / 0.7675 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.9952, allocations: 4.656 kB / 0.7675 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/0.9952, allocations: 3.797 kB / 0.7675 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/0.9965, allocations: 0.8127 MB / 0.7683 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.9965, allocations: 0 / 0.7683 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001778/0.9967, allocations: 40.17 kB / 0.7683 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.38e-06/0.9967, allocations: 4.344 kB / 0.7683 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.932e-05/0.9968, allocations: 7.703 kB / 0.7683 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.9968, allocations: 9.547 kB / 0.7683 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.777e-06/0.9968, allocations: 3.344 kB / 0.7684 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005327/0.9973, allocations: 394.6 kB / 0.7687 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001383/0.9975, allocations: 137 kB / 0.7689 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.59e-05/0.9975, allocations: 2.938 kB / 0.7689 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002729/0.9978, allocations: 27.05 kB / 0.7689 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.186e-05/0.9979, allocations: 18.45 kB / 0.7689 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.461e-05/0.9979, allocations: 9.344 kB / 0.7689 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001933/0.9981, allocations: 228.9 kB / 0.7691 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9981, allocations: 0 / 0.7691 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005935/0.9987, allocations: 129.4 kB / 0.7693 GB, free: 13.39 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.0005852/0.9993, allocations: 227.7 kB / 0.7695 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005424/0.9999, allocations: 226.6 kB / 0.7697 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.9999, allocations: 1.625 kB / 0.7697 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002557/1, allocations: 119.3 kB / 0.7698 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008855/1.001, allocations: 155.4 kB / 0.77 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001194/1.002, allocations: 0.7356 MB / 0.7707 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003679/1.003, allocations: 0.7824 MB / 0.7714 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/1.003, allocations: 36.16 kB / 0.7715 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of SimCode: time 1.302e-06/1.003, allocations: 0 / 0.7715 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of Templates: time 0.008874/1.012, allocations: 6.261 MB / 0.7776 GB, free: 11.74 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)