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.000925/0.000925, allocations: 86.95 kB / 15.06 MB, free: 1.09 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.0008053/0.0008052, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.291/1.291, allocations: 223.3 MB / 240 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7275/0.7275, allocations: 132.4 MB / 423.4 MB, free: 2.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002808/0.0002809, allocations: 12.81 kB / 0.5034 GB, free: 4.203 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3473, allocations: 81.57 MB / 0.5831 GB, free: 3.961 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1548/0.5022, allocations: 153.9 MB / 0.7334 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.007128/0.5093, allocations: 6.652 MB / 0.7399 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003272/0.5097, allocations: 7.938 kB / 0.7399 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0003895/0.5101, allocations: 119.1 kB / 0.74 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001975/0.5121, allocations: 0.8358 MB / 0.7408 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001185/0.5133, allocations: 477.5 kB / 0.7413 GB, free: 14.11 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009283/0.5142, allocations: 0.8964 MB / 0.7422 GB, free: 13.2 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003867/0.5146, allocations: 229.2 kB / 0.7424 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009352/0.5155, allocations: 478.1 kB / 0.7429 GB, free: 12.51 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007436/0.5163, allocations: 398.6 kB / 0.7432 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.617e-05/0.5163, allocations: 16 kB / 0.7433 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001304/0.5177, allocations: 0.6275 MB / 0.7439 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001247/0.5178, allocations: 107.7 kB / 0.744 GB, free: 11.37 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 9.458e-05/0.5179, allocations: 89.52 kB / 0.7441 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0006498/0.5186, allocations: 0.5183 MB / 0.7446 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.5186, allocations: 0 / 0.7446 GB, free: 10.76 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.472e-06/0.5186, allocations: 7.938 kB / 0.7446 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.673e-06/0.5186, allocations: 0 / 0.7446 GB, free: 10.75 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.0007968/0.5194, allocations: 0.6311 MB / 0.7452 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 2.515e-05/0.5194, allocations: 8.031 kB / 0.7452 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009282/0.5204, allocations: 127.4 kB / 0.7453 GB, free: 9.938 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00038/0.5207, allocations: 313.4 kB / 0.7456 GB, free: 9.594 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.65e-05/0.5208, allocations: 50.27 kB / 0.7457 GB, free: 9.539 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.819e-05/0.5209, allocations: 39.92 kB / 0.7457 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006153/0.5215, allocations: 370.2 kB / 0.746 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.5215, allocations: 0 / 0.746 GB, free: 9.121 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.329e-05/0.5216, allocations: 15.95 kB / 0.7461 GB, free: 9.105 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.186e-06/0.5216, allocations: 8 kB / 0.7461 GB, free: 9.098 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005066/0.5221, allocations: 278 kB / 0.7463 GB, free: 8.824 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.001653/0.5238, allocations: 1.515 MB / 0.7478 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003641/0.5241, allocations: 194.6 kB / 0.748 GB, free: 6.98 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002123/0.5244, allocations: 124.7 kB / 0.7481 GB, free: 6.855 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008909/0.5253, allocations: 0.517 MB / 0.7486 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.562e-05/0.5253, allocations: 38.56 kB / 0.7487 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=15): time 1.372e-06/0.5253, allocations: 0 / 0.7487 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15): time 0.0008935/0.5262, allocations: 376.1 kB / 0.749 GB, free: 5.828 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.439e-05/0.5262, allocations: 51.41 kB / 0.7491 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002926/0.5265, allocations: 312.5 kB / 0.7494 GB, free: 5.453 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.851e-05/0.5266, allocations: 33.7 kB / 0.7494 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001115/0.5267, allocations: 184 kB / 0.7496 GB, free: 5.23 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.442e-05/0.5267, allocations: 51.3 kB / 0.7496 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.329e-05/0.5268, allocations: 4 kB / 0.7496 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.5269, allocations: 346.8 kB / 0.75 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/0.5271, allocations: 91.88 kB / 0.75 GB, free: 4.738 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002243/0.5273, allocations: 151.1 kB / 0.7502 GB, free: 4.57 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000209/0.5275, allocations: 106.9 kB / 0.7503 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.5275, allocations: 0 / 0.7503 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005669/0.5281, allocations: 297 kB / 0.7506 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.5281, allocations: 4 kB / 0.7506 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.5281, allocations: 0 / 0.7506 GB, free: 4.168 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.5281, allocations: 4 kB / 0.7506 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000222/0.5284, allocations: 43.97 kB / 0.7506 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.5284, allocations: 192 / 0.7506 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002158/0.5286, allocations: 43.67 kB / 0.7507 GB, free: 4.078 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.916e-05/0.5287, allocations: 23.94 kB / 0.7507 GB, free: 4.055 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001417/0.5288, allocations: 145.8 kB / 0.7508 GB, free: 3.902 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001038/0.5289, allocations: 27.72 kB / 0.7509 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007011/0.5296, allocations: 332 kB / 0.7512 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.5296, allocations: 0 / 0.7512 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.5296, allocations: 0 / 0.7512 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.5297, allocations: 0 / 0.7512 GB, free: 3.547 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001211/0.5309, allocations: 0.8238 MB / 0.752 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.073e-06/0.5309, allocations: 7.938 kB / 0.752 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001839/0.5311, allocations: 39.91 kB / 0.752 GB, free: 2.598 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.5311, allocations: 4 kB / 0.752 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.251e-05/0.5311, allocations: 11.95 kB / 0.752 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/0.5311, allocations: 0 / 0.752 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.5311, allocations: 12.16 kB / 0.752 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000558/0.5317, allocations: 393.1 kB / 0.7524 GB, free: 2.148 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001263/0.5318, allocations: 140.6 kB / 0.7526 GB, free: 1.992 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.373e-05/0.5319, allocations: 4 kB / 0.7526 GB, free: 1.988 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002562/0.5321, allocations: 35.88 kB / 0.7526 GB, free: 1.953 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.744e-05/0.5322, allocations: 19.97 kB / 0.7526 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.565e-05/0.5322, allocations: 8 kB / 0.7526 GB, free: 1.926 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002031/0.5324, allocations: 223 kB / 0.7528 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5325, allocations: 0 / 0.7528 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0004584/0.5329, allocations: 115.8 kB / 0.7529 GB, free: 1.594 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004091/0.5333, allocations: 223 kB / 0.7532 GB, free: 1.379 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004637/0.5338, allocations: 222.4 kB / 0.7534 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.5338, allocations: 4.219 kB / 0.7534 GB, free: 1.16 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0002312/0.5341, allocations: 127.7 kB / 0.7535 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008192/0.5349, allocations: 145.4 kB / 0.7536 GB, free: 0.8945 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009208/0.5358, allocations: 0.7092 MB / 0.7543 GB, free: 132 kB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003034/0.5361, allocations: 0.7797 MB / 0.7551 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003067/0.5365, allocations: 91.05 kB / 0.7552 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.942e-05/0.5365, allocations: 27.44 kB / 0.7552 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of SimCode: time 2.51e-07/0.5366, allocations: 0 / 0.7552 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of Templates: time 0.01098/0.5475, allocations: 6.766 MB / 0.7618 GB, free: 8.539 MB / 0.5919 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)