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.001256/0.001256, allocations: 103.5 kB / 16.27 MB, free: 6.418 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.001252/0.001252, allocations: 190.1 kB / 17.2 MB, free: 5.949 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.3/1.3, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8047/0.8047, allocations: 135.2 MB / 426.2 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001856/0.001856, allocations: 63.91 kB / 0.506 GB, free: 8.348 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3559, allocations: 80.93 MB / 0.5851 GB, free: 25.29 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1919/0.5479, allocations: 169.4 MB / 0.7505 GB, free: 0.5312 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3245/0.8725, allocations: 7.116 MB / 0.7575 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004733/0.873, allocations: 11.56 kB / 0.7575 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004676/0.8735, allocations: 175.1 kB / 0.7576 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002753/0.8763, allocations: 1.258 MB / 0.7589 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001533/0.8778, allocations: 0.6286 MB / 0.7595 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008107/0.8787, allocations: 0.7594 MB / 0.7602 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000441/0.8791, allocations: 290.9 kB / 0.7605 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001117/0.8802, allocations: 0.5694 MB / 0.7611 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008416/0.8811, allocations: 418.8 kB / 0.7615 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.956e-05/0.8812, allocations: 25.91 kB / 0.7615 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002336/0.8835, allocations: 1.241 MB / 0.7627 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.8837, allocations: 122.8 kB / 0.7628 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002187/0.8839, allocations: 180.1 kB / 0.763 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001531/0.8854, allocations: 0.9007 MB / 0.7639 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.8854, allocations: 1.203 kB / 0.7639 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.092e-06/0.8855, allocations: 2.312 kB / 0.7639 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.8855, allocations: 0 / 0.7639 GB, free: 1.59 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.001071/0.8865, allocations: 0.6897 MB / 0.7645 GB, free: 17.09 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.8866, allocations: 10.64 kB / 0.7646 GB, free: 17.09 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001023/0.8876, allocations: 131.2 kB / 0.7647 GB, free: 17.07 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004216/0.8881, allocations: 325.2 kB / 0.765 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.55e-05/0.8882, allocations: 47.42 kB / 0.765 GB, free: 16.81 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.969e-05/0.8882, allocations: 35.38 kB / 0.7651 GB, free: 16.81 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006921/0.8889, allocations: 363 kB / 0.7654 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.8889, allocations: 5.797 kB / 0.7654 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.199e-05/0.889, allocations: 12.62 kB / 0.7654 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.385e-05/0.889, allocations: 11.5 kB / 0.7654 GB, free: 16.73 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005804/0.8896, allocations: 277.9 kB / 0.7657 GB, free: 16.73 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.001913/0.8915, allocations: 1.498 MB / 0.7672 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003291/0.8918, allocations: 194 kB / 0.7674 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001834/0.892, allocations: 122.1 kB / 0.7675 GB, free: 15.72 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009927/0.893, allocations: 0.4999 MB / 0.768 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.8931, allocations: 41.72 kB / 0.768 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.954e-06/0.8931, allocations: 0 / 0.768 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0009258/0.894, allocations: 353.9 kB / 0.7683 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.495e-05/0.8941, allocations: 53.31 kB / 0.7684 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003769/0.8945, allocations: 316.2 kB / 0.7687 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.363e-05/0.8945, allocations: 29.95 kB / 0.7687 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001255/0.8946, allocations: 187.1 kB / 0.7689 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.5e-05/0.8947, allocations: 46.56 kB / 0.7689 GB, free: 14.82 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.8948, allocations: 54.89 kB / 0.769 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.8949, allocations: 338.1 kB / 0.7693 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002159/0.8952, allocations: 87.81 kB / 0.7694 GB, free: 14.49 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002432/0.8954, allocations: 148.4 kB / 0.7695 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003597/0.8958, allocations: 240.8 kB / 0.7698 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.836e-06/0.8958, allocations: 1 kB / 0.7698 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005587/0.8964, allocations: 283.2 kB / 0.77 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.8964, allocations: 8 kB / 0.7701 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.8964, allocations: 0 / 0.7701 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.823e-05/0.8964, allocations: 3.125 kB / 0.7701 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002202/0.8966, allocations: 47.67 kB / 0.7701 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.364e-06/0.8967, allocations: 4.391 kB / 0.7701 GB, free: 14.33 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002093/0.8969, allocations: 30.72 kB / 0.7701 GB, free: 14.32 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.229e-05/0.8969, allocations: 12.88 kB / 0.7701 GB, free: 14.32 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.000153/0.8971, allocations: 155 kB / 0.7703 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.807e-05/0.8972, allocations: 34.19 kB / 0.7703 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000623/0.8978, allocations: 314.7 kB / 0.7706 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.8978, allocations: 1.625 kB / 0.7706 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.8978, allocations: 1.5 kB / 0.7706 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.8978, allocations: 0 / 0.7706 GB, free: 14.14 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00116/0.899, allocations: 0.8055 MB / 0.7714 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.18e-06/0.899, allocations: 6.359 kB / 0.7714 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001772/0.8992, allocations: 36.58 kB / 0.7715 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.883e-06/0.8992, allocations: 2.594 kB / 0.7715 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/0.8992, allocations: 11.56 kB / 0.7715 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.029e-06/0.8993, allocations: 3.875 kB / 0.7715 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.661e-06/0.8993, allocations: 5.25 kB / 0.7715 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006176/0.8999, allocations: 393.7 kB / 0.7719 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00015/0.9001, allocations: 137.9 kB / 0.772 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.68e-05/0.9001, allocations: 15.59 kB / 0.772 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.9003, allocations: 16.02 kB / 0.772 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.724e-05/0.9004, allocations: 19.27 kB / 0.772 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.029e-05/0.9004, allocations: 14.02 kB / 0.772 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002465/0.9007, allocations: 227.3 kB / 0.7723 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9007, allocations: 0 / 0.7723 GB, free: 13.37 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005983/0.9013, allocations: 121.2 kB / 0.7724 GB, free: 13.36 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.000619/0.9019, allocations: 228 kB / 0.7726 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005202/0.9025, allocations: 231.6 kB / 0.7728 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.9025, allocations: 4.469 kB / 0.7728 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002348/0.9027, allocations: 117.7 kB / 0.7729 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008617/0.9036, allocations: 172.8 kB / 0.7731 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.9046, allocations: 0.6352 MB / 0.7737 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003647/0.905, allocations: 0.7878 MB / 0.7745 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.997e-05/0.9051, allocations: 30.95 kB / 0.7745 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of SimCode: time 5.71e-07/0.9051, allocations: 0 / 0.7745 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of Templates: time 0.008656/0.9138, allocations: 6.249 MB / 0.7806 GB, free: 11.75 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)