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.0008334/0.0008336, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.0009617/0.000962, allocations: 177.3 kB / 15.95 MB, free: 216 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.166/1.166, allocations: 223.2 MB / 239.9 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8484/0.8484, allocations: 135.2 MB / 426.2 MB, free: 14.42 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002716/0.0002716, allocations: 12 kB / 0.5068 GB, free: 5.285 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1421/0.1424, allocations: 82.32 MB / 0.5872 GB, free: 3.145 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.3784/0.5208, allocations: 141.8 MB / 0.7257 GB, free: 7.707 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.006487/0.5274, allocations: 5.271 MB / 0.7308 GB, free: 4.02 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000429/0.5278, allocations: 10.81 kB / 0.7308 GB, free: 4.016 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0006771/0.5285, allocations: 183.1 kB / 0.731 GB, free: 3.914 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.00195/0.5305, allocations: 0.7102 MB / 0.7317 GB, free: 3.48 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001642/0.5321, allocations: 0.5047 MB / 0.7322 GB, free: 3.227 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0007669/0.5329, allocations: 456.1 kB / 0.7326 GB, free: 2.996 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004566/0.5334, allocations: 228.1 kB / 0.7328 GB, free: 2.926 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001282/0.5347, allocations: 0.494 MB / 0.7333 GB, free: 2.68 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006804/0.5353, allocations: 335.9 kB / 0.7336 GB, free: 2.551 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.337e-05/0.5354, allocations: 15.12 kB / 0.7337 GB, free: 2.551 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001307/0.5367, allocations: 0.5533 MB / 0.7342 GB, free: 2.395 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.5368, allocations: 105.7 kB / 0.7343 GB, free: 2.352 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 8.159e-05/0.5369, allocations: 86.89 kB / 0.7344 GB, free: 2.293 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0006979/0.5376, allocations: 457.8 kB / 0.7348 GB, free: 2.191 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.035e-06/0.5376, allocations: 0 / 0.7348 GB, free: 2.191 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.442e-06/0.5376, allocations: 0 / 0.7348 GB, free: 2.191 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.682e-06/0.5377, allocations: 0 / 0.7348 GB, free: 2.191 MB / 0.545 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.0009393/0.5386, allocations: 0.619 MB / 0.7354 GB, free: 1.68 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.827e-05/0.5386, allocations: 8.406 kB / 0.7354 GB, free: 1.68 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001012/0.5397, allocations: 138.7 kB / 0.7356 GB, free: 1.645 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000413/0.5401, allocations: 304.2 kB / 0.7359 GB, free: 1.387 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.053e-05/0.5402, allocations: 50.42 kB / 0.7359 GB, free: 1.348 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.928e-05/0.5402, allocations: 31.28 kB / 0.7359 GB, free: 1.336 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005999/0.5408, allocations: 370.1 kB / 0.7363 GB, free: 1.164 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.036e-05/0.5409, allocations: 0 / 0.7363 GB, free: 1.164 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.386e-05/0.5409, allocations: 15.8 kB / 0.7363 GB, free: 1.152 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.167e-06/0.5409, allocations: 9.703 kB / 0.7363 GB, free: 1.148 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004924/0.5414, allocations: 282.8 kB / 0.7366 GB, free: 1.059 MB / 0.545 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.0019/0.5433, allocations: 1.498 MB / 0.738 GB, free: 15.88 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00047/0.5438, allocations: 175 kB / 0.7382 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004078/0.5442, allocations: 139 kB / 0.7383 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.5442, allocations: 34.56 kB / 0.7384 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.282e-06/0.5443, allocations: 0 / 0.7384 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0008666/0.5451, allocations: 386 kB / 0.7387 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.5452, allocations: 54.25 kB / 0.7388 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002881/0.5455, allocations: 314.7 kB / 0.7391 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 3.092e-05/0.5455, allocations: 32.92 kB / 0.7391 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001369/0.5457, allocations: 179 kB / 0.7393 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.529e-05/0.5457, allocations: 49.5 kB / 0.7393 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.124e-05/0.5457, allocations: 3.312 kB / 0.7394 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.5459, allocations: 337.3 kB / 0.7397 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001837/0.5461, allocations: 99.09 kB / 0.7398 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002228/0.5463, allocations: 167.1 kB / 0.7399 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001907/0.5465, allocations: 112.2 kB / 0.74 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.5465, allocations: 0 / 0.74 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005297/0.547, allocations: 307.2 kB / 0.7403 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.5471, allocations: 6.25 kB / 0.7403 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.5471, allocations: 2.969 kB / 0.7403 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.5471, allocations: 11.38 kB / 0.7403 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002064/0.5473, allocations: 46.45 kB / 0.7404 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.5473, allocations: 3.625 kB / 0.7404 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002257/0.5475, allocations: 38.84 kB / 0.7404 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.438e-05/0.5476, allocations: 14.06 kB / 0.7404 GB, free: 14.41 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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.0001656/0.5478, allocations: 162.3 kB / 0.7406 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.503e-05/0.5479, allocations: 26.88 kB / 0.7406 GB, free: 14.26 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006557/0.5485, allocations: 328.3 kB / 0.7409 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.5485, allocations: 0 / 0.7409 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.5485, allocations: 1.938 kB / 0.7409 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.5486, allocations: 1.594 kB / 0.7409 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001185/0.5497, allocations: 0.8125 MB / 0.7417 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.5498, allocations: 4 kB / 0.7417 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001809/0.5499, allocations: 44.97 kB / 0.7418 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.989e-06/0.55, allocations: 7.938 kB / 0.7418 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.909e-05/0.55, allocations: 10.38 kB / 0.7418 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.36e-06/0.55, allocations: 7.953 kB / 0.7418 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.55, allocations: 0 / 0.7418 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005957/0.5506, allocations: 0.4978 MB / 0.7423 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001141/0.5507, allocations: 129.4 kB / 0.7424 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.421e-05/0.5508, allocations: 7.953 kB / 0.7424 GB, free: 12.69 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002525/0.551, allocations: 30.61 kB / 0.7425 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.716e-05/0.5511, allocations: 16.41 kB / 0.7425 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.424e-05/0.5511, allocations: 10.2 kB / 0.7425 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001838/0.5513, allocations: 225.4 kB / 0.7427 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5513, allocations: 0 / 0.7427 GB, free: 12.46 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0004995/0.5518, allocations: 120.7 kB / 0.7428 GB, free: 12.34 MB / 0.5606 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.0004248/0.5522, allocations: 214.2 kB / 0.743 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0004481/0.5527, allocations: 233.3 kB / 0.7432 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.5527, allocations: 4.062 kB / 0.7432 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0002049/0.5529, allocations: 119.5 kB / 0.7434 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007214/0.5537, allocations: 148.8 kB / 0.7435 GB, free: 11.75 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000916/0.5546, allocations: 0.7054 MB / 0.7442 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.5549, allocations: 0.7924 MB / 0.745 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0002646/0.5552, allocations: 90.42 kB / 0.745 GB, free: 10.23 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.947e-05/0.5553, allocations: 27.44 kB / 0.7451 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.5553, allocations: 0 / 0.7451 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.01054/0.5658, allocations: 6.84 MB / 0.7517 GB, free: 3.656 MB / 0.5606 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: