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.001612/0.001613, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001604/0.001604, allocations: 192.6 kB / 16.25 MB, free: 6.586 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.374/1.374, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9411/0.9411, allocations: 135.6 MB / 425.6 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 72.66 kB / 0.5054 GB, free: 5.195 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1634/0.1652, allocations: 81.01 MB / 0.5845 GB, free: 4.32 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.4507/0.616, allocations: 167.1 MB / 0.7477 GB, free: 3.141 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.008196/0.6242, allocations: 7.097 MB / 0.7547 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000401/0.6247, allocations: 15.88 kB / 0.7547 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004865/0.6252, allocations: 132.7 kB / 0.7548 GB, free: 13.47 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002873/0.6281, allocations: 1.194 MB / 0.756 GB, free: 12.6 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001413/0.6295, allocations: 0.5795 MB / 0.7565 GB, free: 12.2 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008289/0.6303, allocations: 0.7656 MB / 0.7573 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004024/0.6308, allocations: 278.7 kB / 0.7575 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001126/0.6319, allocations: 0.5605 MB / 0.7581 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007656/0.6327, allocations: 430.5 kB / 0.7585 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.501e-05/0.6327, allocations: 32 kB / 0.7585 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002089/0.6348, allocations: 1.313 MB / 0.7598 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001467/0.635, allocations: 119.7 kB / 0.7599 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001851/0.6352, allocations: 179.1 kB / 0.7601 GB, free: 8.68 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001468/0.6367, allocations: 0.9816 MB / 0.7611 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.6367, allocations: 0 / 0.7611 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.042e-06/0.6367, allocations: 0 / 0.7611 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.6367, allocations: 0 / 0.7611 GB, free: 7.695 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.001011/0.6377, allocations: 0.6972 MB / 0.7617 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.551e-05/0.6377, allocations: 8.031 kB / 0.7617 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000984/0.6387, allocations: 134.3 kB / 0.7619 GB, free: 6.816 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004518/0.6392, allocations: 329.1 kB / 0.7622 GB, free: 6.449 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.423e-05/0.6393, allocations: 46.27 kB / 0.7622 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.087e-05/0.6393, allocations: 32 kB / 0.7623 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007292/0.6401, allocations: 370.1 kB / 0.7626 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.6401, allocations: 0 / 0.7626 GB, free: 5.984 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.889e-05/0.6402, allocations: 8 kB / 0.7626 GB, free: 5.977 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.697e-06/0.6402, allocations: 11.94 kB / 0.7626 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005426/0.6407, allocations: 278 kB / 0.7629 GB, free: 5.695 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.002034/0.6428, allocations: 1.488 MB / 0.7644 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000424/0.6432, allocations: 198.6 kB / 0.7645 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002447/0.6434, allocations: 112.8 kB / 0.7647 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001113/0.6446, allocations: 0.5052 MB / 0.7651 GB, free: 3.164 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.6446, allocations: 38.56 kB / 0.7652 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.6446, allocations: 0 / 0.7652 GB, free: 3.117 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0009409/0.6456, allocations: 363.6 kB / 0.7655 GB, free: 2.758 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.6456, allocations: 55.41 kB / 0.7656 GB, free: 2.691 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003485/0.646, allocations: 312.5 kB / 0.7659 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.264e-05/0.646, allocations: 29.7 kB / 0.7659 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001673/0.6462, allocations: 184 kB / 0.7661 GB, free: 2.16 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.938e-05/0.6462, allocations: 51.3 kB / 0.7661 GB, free: 2.109 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.984e-05/0.6463, allocations: 45.61 kB / 0.7662 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001728/0.6465, allocations: 346.8 kB / 0.7665 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002112/0.6467, allocations: 91.92 kB / 0.7666 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002625/0.647, allocations: 137.9 kB / 0.7667 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004751/0.6475, allocations: 243.4 kB / 0.767 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.6475, allocations: 0 / 0.767 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005887/0.6481, allocations: 277.1 kB / 0.7672 GB, free: 0.9297 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.732e-05/0.6481, allocations: 8 kB / 0.7672 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.09e-06/0.6481, allocations: 0 / 0.7672 GB, free: 0.9219 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.6482, allocations: 4 kB / 0.7672 GB, free: 0.918 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002283/0.6484, allocations: 47.91 kB / 0.7673 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.6484, allocations: 0 / 0.7673 GB, free: 0.8711 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002321/0.6486, allocations: 46.23 kB / 0.7673 GB, free: 0.8281 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.412e-05/0.6487, allocations: 11.98 kB / 0.7673 GB, free: 0.8164 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.0001754/0.6489, allocations: 157.7 kB / 0.7675 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.649, allocations: 27.62 kB / 0.7675 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007261/0.6497, allocations: 314.8 kB / 0.7678 GB, free: 324 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.6497, allocations: 0 / 0.7678 GB, free: 324 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.6497, allocations: 7.938 kB / 0.7678 GB, free: 316 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.6497, allocations: 0 / 0.7678 GB, free: 316 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001327/0.6511, allocations: 0.8043 MB / 0.7686 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.6511, allocations: 4 kB / 0.7686 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001826/0.6513, allocations: 39.91 kB / 0.7686 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.007e-06/0.6513, allocations: 7.938 kB / 0.7687 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.818e-05/0.6513, allocations: 4.266 kB / 0.7687 GB, free: 15.37 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/0.6513, allocations: 8 kB / 0.7687 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.993e-06/0.6513, allocations: 7.234 kB / 0.7687 GB, free: 15.36 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006104/0.652, allocations: 403.8 kB / 0.7691 GB, free: 14.93 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000141/0.6521, allocations: 128.7 kB / 0.7692 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.645e-05/0.6522, allocations: 11.94 kB / 0.7692 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002488/0.6524, allocations: 15.98 kB / 0.7692 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.219e-05/0.6525, allocations: 27.91 kB / 0.7692 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.444e-05/0.6525, allocations: 8 kB / 0.7692 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002288/0.6527, allocations: 227 kB / 0.7695 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6528, allocations: 0 / 0.7695 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005033/0.6533, allocations: 123.8 kB / 0.7696 GB, free: 14.38 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.0005691/0.6538, allocations: 227.3 kB / 0.7698 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005142/0.6544, allocations: 223.7 kB / 0.77 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.6544, allocations: 0 / 0.77 GB, free: 13.94 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002304/0.6546, allocations: 120.6 kB / 0.7701 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008702/0.6555, allocations: 176.3 kB / 0.7703 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001177/0.6567, allocations: 0.7063 MB / 0.771 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004404/0.6571, allocations: 0.7871 MB / 0.7717 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003055/0.6574, allocations: 90.48 kB / 0.7718 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.323e-05/0.6575, allocations: 31.44 kB / 0.7719 GB, free: 11.99 MB / 0.5919 GB Notification: Performance of SimCode: time 2.41e-07/0.6576, allocations: 3.938 kB / 0.7719 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of Templates: time 0.01371/0.6713, allocations: 7.193 MB / 0.7789 GB, free: 4.914 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)