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.001726/0.001726, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001857/0.001857, allocations: 192.1 kB / 16.25 MB, free: 6.621 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.466/1.466, allocations: 222.9 MB / 239.9 MB, free: 4.527 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.03/1.03, allocations: 135.2 MB / 425.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001958/0.001958, allocations: 59.5 kB / 0.5049 GB, free: 5.625 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1875/0.1895, allocations: 80.94 MB / 0.5839 GB, free: 4.855 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5833/0.7729, allocations: 167.1 MB / 0.7472 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009731/0.7826, allocations: 7.092 MB / 0.7541 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007404/0.7834, allocations: 11.91 kB / 0.7541 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0007396/0.7842, allocations: 141.2 kB / 0.7542 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004155/0.7884, allocations: 1.194 MB / 0.7554 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001838/0.7903, allocations: 0.5794 MB / 0.756 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001103/0.7914, allocations: 0.7704 MB / 0.7567 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005042/0.7919, allocations: 270.7 kB / 0.757 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001397/0.7933, allocations: 0.5643 MB / 0.7575 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008092/0.7941, allocations: 434.5 kB / 0.7579 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 5.898e-05/0.7942, allocations: 28 kB / 0.758 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002293/0.7965, allocations: 1.313 MB / 0.7593 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001552/0.7967, allocations: 115.7 kB / 0.7594 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002294/0.7969, allocations: 187.1 kB / 0.7595 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001555/0.7984, allocations: 0.9739 MB / 0.7605 GB, free: 8.508 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.702e-06/0.7985, allocations: 0 / 0.7605 GB, free: 8.508 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.904e-06/0.7985, allocations: 3.938 kB / 0.7605 GB, free: 8.504 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.718e-06/0.7985, allocations: 0 / 0.7605 GB, free: 8.504 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.00117/0.7997, allocations: 0.6972 MB / 0.7612 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.7997, allocations: 8.031 kB / 0.7612 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001056/0.8008, allocations: 131.9 kB / 0.7613 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004934/0.8013, allocations: 333.1 kB / 0.7616 GB, free: 7.254 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.674e-05/0.8014, allocations: 46.27 kB / 0.7617 GB, free: 7.203 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.994e-05/0.8014, allocations: 24 kB / 0.7617 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007163/0.8022, allocations: 374.1 kB / 0.7621 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.417e-05/0.8022, allocations: 3.938 kB / 0.7621 GB, free: 6.789 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.721e-05/0.8022, allocations: 12.94 kB / 0.7621 GB, free: 6.777 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/0.8023, allocations: 8 kB / 0.7621 GB, free: 6.77 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005733/0.8028, allocations: 277.9 kB / 0.7623 GB, free: 6.5 MB / 0.5762 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.002119/0.805, allocations: 1.488 MB / 0.7638 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004244/0.8054, allocations: 198.5 kB / 0.764 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002366/0.8057, allocations: 116.8 kB / 0.7641 GB, free: 4.562 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001173/0.8068, allocations: 0.5052 MB / 0.7646 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.477e-05/0.8069, allocations: 31.06 kB / 0.7646 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.503e-06/0.8069, allocations: 0 / 0.7646 GB, free: 3.926 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.001009/0.8079, allocations: 361.9 kB / 0.765 GB, free: 3.566 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.745e-05/0.808, allocations: 59.34 kB / 0.765 GB, free: 3.496 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003697/0.8084, allocations: 312.5 kB / 0.7653 GB, free: 3.184 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.562e-05/0.8084, allocations: 29.7 kB / 0.7653 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00017/0.8086, allocations: 188 kB / 0.7655 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.894e-05/0.8086, allocations: 51.34 kB / 0.7656 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.93e-05/0.8087, allocations: 41.7 kB / 0.7656 GB, free: 2.863 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001886/0.8089, allocations: 350.7 kB / 0.7659 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002011/0.8092, allocations: 79.94 kB / 0.766 GB, free: 2.434 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000275/0.8094, allocations: 145.9 kB / 0.7662 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004475/0.8099, allocations: 240.5 kB / 0.7664 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.8099, allocations: 0 / 0.7664 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006079/0.8105, allocations: 289 kB / 0.7667 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.142e-05/0.8106, allocations: 8 kB / 0.7667 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.8106, allocations: 0 / 0.7667 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/0.8106, allocations: 4 kB / 0.7667 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002356/0.8108, allocations: 43.84 kB / 0.7667 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/0.8108, allocations: 4 kB / 0.7667 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002402/0.8111, allocations: 43.86 kB / 0.7668 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.733e-05/0.8111, allocations: 15.98 kB / 0.7668 GB, free: 1.613 MB / 0.5762 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.0001702/0.8113, allocations: 153.7 kB / 0.7669 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.8114, allocations: 27.62 kB / 0.767 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007561/0.8122, allocations: 317.1 kB / 0.7673 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.8122, allocations: 0 / 0.7673 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.8122, allocations: 0 / 0.7673 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.8122, allocations: 0 / 0.7673 GB, free: 1.117 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.8136, allocations: 0.8121 MB / 0.7681 GB, free: 232 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.8136, allocations: 0 / 0.7681 GB, free: 232 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/0.8138, allocations: 39.91 kB / 0.7681 GB, free: 192 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.013e-06/0.8139, allocations: 7.938 kB / 0.7681 GB, free: 184 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.05e-05/0.8139, allocations: 12.22 kB / 0.7681 GB, free: 172 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.274e-06/0.8139, allocations: 0 / 0.7681 GB, free: 172 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.8139, allocations: 4 kB / 0.7681 GB, free: 168 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006656/0.8146, allocations: 397 kB / 0.7685 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001535/0.8147, allocations: 138.3 kB / 0.7686 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.785e-05/0.8148, allocations: 7.938 kB / 0.7686 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002697/0.8151, allocations: 23.98 kB / 0.7687 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.904e-05/0.8152, allocations: 15.97 kB / 0.7687 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.747e-05/0.8152, allocations: 12 kB / 0.7687 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002441/0.8154, allocations: 227 kB / 0.7689 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.61e-07/0.8154, allocations: 3.938 kB / 0.7689 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005216/0.816, allocations: 123.8 kB / 0.769 GB, free: 15.18 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.0006143/0.8166, allocations: 226.6 kB / 0.7692 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000547/0.8171, allocations: 227.7 kB / 0.7695 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.8172, allocations: 0 / 0.7695 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000255/0.8174, allocations: 120.7 kB / 0.7696 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008722/0.8183, allocations: 159.5 kB / 0.7697 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001209/0.8195, allocations: 0.7087 MB / 0.7704 GB, free: 13.73 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004587/0.82, allocations: 0.795 MB / 0.7712 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003084/0.8203, allocations: 90.52 kB / 0.7713 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.347e-05/0.8204, allocations: 27.44 kB / 0.7713 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of SimCode: time 3.01e-07/0.8204, allocations: 0 / 0.7713 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of Templates: time 0.01414/0.8346, allocations: 7.2 MB / 0.7783 GB, free: 5.711 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)