Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.005924/0.005924, allocations: 100.7 kB / 15.73 MB, free: 6.039 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.001209/0.001209, allocations: 188.9 kB / 16.67 MB, free: 5.973 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.753/0.753, allocations: 132.2 MB / 422.7 MB, free: 1.609 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 63.91 kB / 0.5814 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1962/0.1975, allocations: 80.21 MB / 0.6597 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.7597/0.9572, allocations: 169.4 MB / 0.8251 GB, free: 3.137 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.008911/0.9661, allocations: 7.135 MB / 0.8321 GB, free: 3.062 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006906/0.9669, allocations: 16.39 kB / 0.8321 GB, free: 3.062 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.0005791/0.9674, allocations: 172.5 kB / 0.8323 GB, free: 3.059 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004035/0.9715, allocations: 1.306 MB / 0.8336 GB, free: 3.004 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002159/0.9737, allocations: 0.6392 MB / 0.8342 GB, free: 2.984 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.001166/0.9749, allocations: 0.7651 MB / 0.8349 GB, free: 2.98 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004842/0.9754, allocations: 294.2 kB / 0.8352 GB, free: 2.969 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001434/0.9768, allocations: 0.5846 MB / 0.8358 GB, free: 2.961 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009267/0.9778, allocations: 427 kB / 0.8362 GB, free: 2.961 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 5.9e-05/0.9778, allocations: 27.41 kB / 0.8362 GB, free: 2.961 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002768/0.9806, allocations: 1.255 MB / 0.8375 GB, free: 2.949 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0001666/0.9808, allocations: 113.6 kB / 0.8376 GB, free: 2.949 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0002809/0.9811, allocations: 176.4 kB / 0.8377 GB, free: 2.949 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.002132/0.9832, allocations: 0.9084 MB / 0.8386 GB, free: 2.906 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 6.012e-06/0.9832, allocations: 2.25 kB / 0.8386 GB, free: 2.906 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.576e-06/0.9833, allocations: 0 / 0.8386 GB, free: 2.906 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.47e-05/0.9833, allocations: 1.203 kB / 0.8386 GB, free: 2.906 MB / 0.6387 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.001137/0.9844, allocations: 0.6931 MB / 0.8393 GB, free: 2.402 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.9845, allocations: 9.594 kB / 0.8393 GB, free: 2.402 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/0.9856, allocations: 136.5 kB / 0.8394 GB, free: 2.379 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005244/0.9861, allocations: 342.1 kB / 0.8398 GB, free: 2.141 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.43e-05/0.9862, allocations: 47.3 kB / 0.8398 GB, free: 2.109 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.125e-05/0.9862, allocations: 27.78 kB / 0.8398 GB, free: 2.109 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006517/0.9869, allocations: 371.8 kB / 0.8402 GB, free: 2.035 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.348e-05/0.9869, allocations: 3.094 kB / 0.8402 GB, free: 2.035 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.357e-05/0.987, allocations: 11.88 kB / 0.8402 GB, free: 2.035 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.291e-05/0.987, allocations: 7.438 kB / 0.8402 GB, free: 2.035 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005157/0.9875, allocations: 270.2 kB / 0.8405 GB, free: 2.035 MB / 0.6387 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.001872/0.9894, allocations: 1.481 MB / 0.8419 GB, free: 1.074 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004652/0.9899, allocations: 191.4 kB / 0.8421 GB, free: 1.051 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002107/0.9901, allocations: 116.2 kB / 0.8422 GB, free: 1.043 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001059/0.9912, allocations: 0.5086 MB / 0.8427 GB, free: 16.57 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.256e-05/0.9912, allocations: 44.19 kB / 0.8427 GB, free: 16.53 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=15): time 1.773e-06/0.9912, allocations: 2.031 kB / 0.8427 GB, free: 16.53 MB / 0.6544 GB Notification: Performance of matching and sorting (n=15): time 0.0009789/0.9922, allocations: 359.8 kB / 0.8431 GB, free: 16.48 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.727e-05/0.9923, allocations: 56.77 kB / 0.8431 GB, free: 16.42 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003138/0.9926, allocations: 316 kB / 0.8434 GB, free: 16.31 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.461e-05/0.9926, allocations: 31.64 kB / 0.8435 GB, free: 16.28 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.9927, allocations: 184.3 kB / 0.8437 GB, free: 16.17 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 4.127e-05/0.9928, allocations: 53.08 kB / 0.8437 GB, free: 16.14 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.718e-05/0.9929, allocations: 46.77 kB / 0.8437 GB, free: 16.12 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.993, allocations: 339.7 kB / 0.8441 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001817/0.9932, allocations: 86.31 kB / 0.8442 GB, free: 15.81 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002102/0.9934, allocations: 153.2 kB / 0.8443 GB, free: 15.75 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003781/0.9938, allocations: 236.3 kB / 0.8445 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.9938, allocations: 0 / 0.8445 GB, free: 15.7 MB / 0.6544 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005484/0.9944, allocations: 293.8 kB / 0.8448 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.984e-05/0.9944, allocations: 9.219 kB / 0.8448 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.374e-06/0.9944, allocations: 0 / 0.8448 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.9944, allocations: 4.062 kB / 0.8448 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002179/0.9947, allocations: 43.84 kB / 0.8449 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.175e-06/0.9947, allocations: 4.719 kB / 0.8449 GB, free: 15.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002306/0.9949, allocations: 34.94 kB / 0.8449 GB, free: 15.62 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.626e-05/0.9949, allocations: 11.83 kB / 0.8449 GB, free: 15.62 MB / 0.6544 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.0001572/0.9951, allocations: 148.7 kB / 0.845 GB, free: 15.51 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001052/0.9952, allocations: 34.12 kB / 0.8451 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006559/0.9959, allocations: 314.9 kB / 0.8454 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.469e-06/0.9959, allocations: 3.125 kB / 0.8454 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.9959, allocations: 0.8125 kB / 0.8454 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.9959, allocations: 0 / 0.8454 GB, free: 15.45 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/0.9972, allocations: 0.8046 MB / 0.8462 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.9972, allocations: 3.719 kB / 0.8462 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001747/0.9974, allocations: 33.2 kB / 0.8462 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.56e-06/0.9974, allocations: 5.125 kB / 0.8462 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.9e-05/0.9974, allocations: 10.31 kB / 0.8462 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.9974, allocations: 4.438 kB / 0.8462 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.9974, allocations: 9.625 kB / 0.8462 GB, free: 15.08 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005285/0.9979, allocations: 401.6 kB / 0.8466 GB, free: 14.88 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001254/0.9981, allocations: 134 kB / 0.8467 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.653e-05/0.9981, allocations: 3.688 kB / 0.8467 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002363/0.9984, allocations: 15.17 kB / 0.8468 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.504e-05/0.9984, allocations: 24.05 kB / 0.8468 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.236e-05/0.9985, allocations: 9.078 kB / 0.8468 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.000191/0.9987, allocations: 227.9 kB / 0.847 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9987, allocations: 3.531 kB / 0.847 GB, free: 14.69 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.000566/0.9993, allocations: 123.5 kB / 0.8471 GB, free: 14.67 MB / 0.6544 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.000581/0.9998, allocations: 225.5 kB / 0.8473 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004979/1, allocations: 227.1 kB / 0.8476 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1, allocations: 0 / 0.8476 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0002245/1.001, allocations: 123.4 kB / 0.8477 GB, free: 14.56 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008529/1.001, allocations: 163.2 kB / 0.8478 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001031/1.002, allocations: 0.5945 MB / 0.8484 GB, free: 14.23 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003551/1.003, allocations: 0.7821 MB / 0.8492 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.0002599/1.003, allocations: 88.81 kB / 0.8493 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.886e-05/1.003, allocations: 28.91 kB / 0.8493 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of SimCode: time 4.01e-07/1.003, allocations: 1.875 kB / 0.8493 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of Templates: time 0.01387/1.017, allocations: 7.309 MB / 0.8564 GB, free: 13.2 MB / 0.6544 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)