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.00155/0.001549, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001663/0.001663, allocations: 191 kB / 16.14 MB, free: 6.711 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.422/1.422, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.013/1.013, allocations: 135.1 MB / 425.1 MB, free: 11.81 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001241/0.001241, allocations: 64.45 kB / 0.5047 GB, free: 5.812 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1967/0.198, allocations: 80.92 MB / 0.5837 GB, free: 5.055 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5265/0.7246, allocations: 167.2 MB / 0.747 GB, free: 4.113 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009389/0.734, allocations: 7.202 MB / 0.754 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005268/0.7346, allocations: 16.09 kB / 0.754 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000639/0.7352, allocations: 128.7 kB / 0.7541 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003203/0.7385, allocations: 1.194 MB / 0.7553 GB, free: 13.33 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001698/0.7402, allocations: 0.569 MB / 0.7559 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001061/0.7413, allocations: 1.054 MB / 0.7569 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005808/0.7419, allocations: 250.1 kB / 0.7571 GB, free: 12.1 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001353/0.7432, allocations: 0.5292 MB / 0.7576 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009979/0.7443, allocations: 430.5 kB / 0.7581 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.741e-05/0.7443, allocations: 16 kB / 0.7581 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002783/0.7471, allocations: 1.473 MB / 0.7595 GB, free: 9.656 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001625/0.7473, allocations: 107.7 kB / 0.7596 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003383/0.7477, allocations: 167.1 kB / 0.7598 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001626/0.7493, allocations: 0.9816 MB / 0.7607 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.7493, allocations: 0 / 0.7607 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.455e-06/0.7493, allocations: 0 / 0.7607 GB, free: 8.402 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.7493, allocations: 3.938 kB / 0.7607 GB, free: 8.398 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.0009542/0.7503, allocations: 0.6894 MB / 0.7614 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.447e-05/0.7503, allocations: 16.03 kB / 0.7614 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00111/0.7515, allocations: 127.3 kB / 0.7615 GB, free: 7.523 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004149/0.7519, allocations: 325.1 kB / 0.7619 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.248e-05/0.752, allocations: 54.25 kB / 0.7619 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.092e-05/0.752, allocations: 24 kB / 0.7619 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006375/0.7527, allocations: 368.3 kB / 0.7623 GB, free: 6.703 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/0.7527, allocations: 3.938 kB / 0.7623 GB, free: 6.699 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.348e-05/0.7527, allocations: 12 kB / 0.7623 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.7527, allocations: 8 kB / 0.7623 GB, free: 6.68 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006553/0.7534, allocations: 274 kB / 0.7626 GB, free: 6.414 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.001996/0.7554, allocations: 1.5 MB / 0.764 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003982/0.7558, allocations: 198.5 kB / 0.7642 GB, free: 4.582 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002119/0.756, allocations: 112.8 kB / 0.7643 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001098/0.7571, allocations: 0.5053 MB / 0.7648 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.7572, allocations: 30.56 kB / 0.7649 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/0.7572, allocations: 0 / 0.7649 GB, free: 3.832 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.001056/0.7583, allocations: 371.4 kB / 0.7652 GB, free: 3.465 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.943e-05/0.7583, allocations: 51.41 kB / 0.7653 GB, free: 3.402 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002937/0.7586, allocations: 312.5 kB / 0.7656 GB, free: 3.094 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.201e-05/0.7586, allocations: 33.7 kB / 0.7656 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001298/0.7588, allocations: 180.1 kB / 0.7658 GB, free: 2.875 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.781e-05/0.7588, allocations: 55.28 kB / 0.7658 GB, free: 2.82 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.548e-05/0.759, allocations: 41.7 kB / 0.7658 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002101/0.7592, allocations: 346.7 kB / 0.7662 GB, free: 2.426 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001936/0.7594, allocations: 83.94 kB / 0.7663 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000293/0.7597, allocations: 145.9 kB / 0.7664 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004899/0.7602, allocations: 241.3 kB / 0.7666 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.7602, allocations: 0 / 0.7666 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006348/0.7608, allocations: 285 kB / 0.7669 GB, free: 1.641 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.7609, allocations: 6.031 kB / 0.7669 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.7609, allocations: 4 kB / 0.7669 GB, free: 1.633 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.303e-05/0.7609, allocations: 3.984 kB / 0.7669 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002838/0.7612, allocations: 47.73 kB / 0.767 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.7612, allocations: 4 kB / 0.767 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002338/0.7614, allocations: 43.84 kB / 0.767 GB, free: 1.539 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.443e-05/0.7615, allocations: 12 kB / 0.767 GB, free: 1.527 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.0001436/0.7616, allocations: 153.7 kB / 0.7672 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001068/0.7617, allocations: 27.62 kB / 0.7672 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007071/0.7625, allocations: 312.2 kB / 0.7675 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.7625, allocations: 0 / 0.7675 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-06/0.7625, allocations: 0 / 0.7675 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.7625, allocations: 3.984 kB / 0.7675 GB, free: 1.023 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001399/0.7639, allocations: 0.8121 MB / 0.7683 GB, free: 136 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.404e-06/0.7639, allocations: 0 / 0.7683 GB, free: 136 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001894/0.7641, allocations: 39.91 kB / 0.7683 GB, free: 96 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.831e-06/0.7641, allocations: 7.938 kB / 0.7683 GB, free: 88 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.847e-05/0.7641, allocations: 8 kB / 0.7683 GB, free: 80 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.7642, allocations: 224 / 0.7683 GB, free: 80 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.7642, allocations: 8.047 kB / 0.7683 GB, free: 72 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006347/0.7648, allocations: 399.8 kB / 0.7687 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001791/0.765, allocations: 136.7 kB / 0.7689 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.623e-05/0.765, allocations: 7.938 kB / 0.7689 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002644/0.7653, allocations: 23.97 kB / 0.7689 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.442e-05/0.7654, allocations: 20.08 kB / 0.7689 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.52e-05/0.7654, allocations: 11.94 kB / 0.7689 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002105/0.7656, allocations: 231 kB / 0.7691 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7656, allocations: 0 / 0.7691 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005118/0.7662, allocations: 123.8 kB / 0.7693 GB, free: 15.09 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.0005417/0.7667, allocations: 222.3 kB / 0.7695 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005869/0.7673, allocations: 215.7 kB / 0.7697 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.7673, allocations: 0 / 0.7697 GB, free: 14.66 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002241/0.7676, allocations: 124.6 kB / 0.7698 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008672/0.7684, allocations: 161.8 kB / 0.7699 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001307/0.7697, allocations: 0.7117 MB / 0.7706 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004354/0.7702, allocations: 0.7875 MB / 0.7714 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003169/0.7705, allocations: 90.73 kB / 0.7715 GB, free: 12.73 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.338e-05/0.7706, allocations: 27.44 kB / 0.7715 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of SimCode: time 3.3e-07/0.7706, allocations: 0 / 0.7715 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of Templates: time 0.01322/0.7839, allocations: 6.982 MB / 0.7783 GB, free: 5.836 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)