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.001076/0.001076, allocations: 110.7 kB / 16.38 MB, free: 6.473 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.001045/0.001046, allocations: 190.2 kB / 17.31 MB, free: 5.785 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.225/1.225, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7285/0.7285, allocations: 135.1 MB / 426.3 MB, free: 4.105 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001138/0.001138, allocations: 65.97 kB / 0.5862 GB, free: 21.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1407/0.1418, allocations: 80.92 MB / 0.6653 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.4589/0.6008, allocations: 169.4 MB / 0.8307 GB, free: 14.3 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.007498/0.6083, allocations: 7.128 MB / 0.8377 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004921/0.6089, allocations: 15.69 kB / 0.8377 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0004963/0.6094, allocations: 170.7 kB / 0.8379 GB, free: 8.383 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.002803/0.6122, allocations: 1.272 MB / 0.8391 GB, free: 7.43 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001423/0.6137, allocations: 0.6217 MB / 0.8397 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007609/0.6144, allocations: 0.7501 MB / 0.8405 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003781/0.6148, allocations: 298.5 kB / 0.8407 GB, free: 6.375 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009863/0.6158, allocations: 0.5715 MB / 0.8413 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007224/0.6165, allocations: 414.9 kB / 0.8417 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 4.087e-05/0.6166, allocations: 27.5 kB / 0.8417 GB, free: 5.785 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001917/0.6185, allocations: 1.252 MB / 0.8429 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001156/0.6186, allocations: 114.8 kB / 0.8431 GB, free: 5 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001713/0.6188, allocations: 175.9 kB / 0.8432 GB, free: 4.891 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001205/0.62, allocations: 0.9147 MB / 0.8441 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.6201, allocations: 2.656 kB / 0.8441 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.412e-06/0.6201, allocations: 0 / 0.8441 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.146e-05/0.6201, allocations: 0 / 0.8441 GB, free: 4.332 MB / 0.6075 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.0008762/0.621, allocations: 0.6995 MB / 0.8448 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.621, allocations: 8.547 kB / 0.8448 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009159/0.6219, allocations: 127.1 kB / 0.8449 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004591/0.6224, allocations: 342.1 kB / 0.8453 GB, free: 3.34 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.73e-05/0.6225, allocations: 50.61 kB / 0.8453 GB, free: 3.297 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.315e-05/0.6225, allocations: 25.44 kB / 0.8453 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005684/0.6231, allocations: 369.9 kB / 0.8457 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.6231, allocations: 0 / 0.8457 GB, free: 3.047 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.031e-05/0.6231, allocations: 13 kB / 0.8457 GB, free: 3.039 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.198e-06/0.6232, allocations: 12.33 kB / 0.8457 GB, free: 3.031 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004563/0.6236, allocations: 269.9 kB / 0.846 GB, free: 2.91 MB / 0.6075 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.00164/0.6253, allocations: 1.49 MB / 0.8474 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003489/0.6256, allocations: 191.2 kB / 0.8476 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002019/0.6258, allocations: 117.6 kB / 0.8477 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008495/0.6267, allocations: 0.5066 MB / 0.8482 GB, free: 0.8633 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.415e-05/0.6267, allocations: 33.41 kB / 0.8482 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.543e-06/0.6267, allocations: 0 / 0.8482 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.0008676/0.6276, allocations: 360 kB / 0.8486 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.281e-05/0.6277, allocations: 54 kB / 0.8486 GB, free: 0.5781 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000287/0.628, allocations: 313.8 kB / 0.8489 GB, free: 376 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.661e-05/0.628, allocations: 27.8 kB / 0.849 GB, free: 344 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001167/0.6281, allocations: 189.6 kB / 0.8491 GB, free: 168 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.946e-05/0.6282, allocations: 58.94 kB / 0.8492 GB, free: 116 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.326e-05/0.6282, allocations: 43.64 kB / 0.8492 GB, free: 84 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.6284, allocations: 343.7 kB / 0.8496 GB, free: 15.74 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000178/0.6286, allocations: 84.91 kB / 0.8496 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/0.6288, allocations: 160.6 kB / 0.8498 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003875/0.6292, allocations: 233.3 kB / 0.85 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.6292, allocations: 0 / 0.85 GB, free: 15.44 MB / 0.6231 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005287/0.6297, allocations: 289.2 kB / 0.8503 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.6298, allocations: 6.125 kB / 0.8503 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.405e-06/0.6298, allocations: 6.984 kB / 0.8503 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.6298, allocations: 2.312 kB / 0.8503 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002126/0.63, allocations: 38.05 kB / 0.8503 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.277e-06/0.63, allocations: 6.812 kB / 0.8504 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001943/0.6302, allocations: 29.92 kB / 0.8504 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.977e-05/0.6303, allocations: 10.09 kB / 0.8504 GB, free: 15.25 MB / 0.6231 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.0001408/0.6304, allocations: 157.5 kB / 0.8505 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.849e-05/0.6305, allocations: 31.75 kB / 0.8506 GB, free: 15.08 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006361/0.6312, allocations: 314.3 kB / 0.8509 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.6312, allocations: 2.844 kB / 0.8509 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.6312, allocations: 2.562 kB / 0.8509 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.6312, allocations: 0 / 0.8509 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001145/0.6323, allocations: 0.8094 MB / 0.8517 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.6323, allocations: 2.625 kB / 0.8517 GB, free: 14.25 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001721/0.6325, allocations: 39.69 kB / 0.8517 GB, free: 14.24 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.6325, allocations: 10.72 kB / 0.8517 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.454e-05/0.6326, allocations: 2.188 kB / 0.8517 GB, free: 14.23 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.408e-06/0.6326, allocations: 10.75 kB / 0.8517 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.6326, allocations: 1.906 kB / 0.8517 GB, free: 14.22 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005382/0.6331, allocations: 403.3 kB / 0.8521 GB, free: 13.91 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001174/0.6332, allocations: 136.8 kB / 0.8522 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.966e-05/0.6333, allocations: 6.219 kB / 0.8523 GB, free: 13.78 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002197/0.6335, allocations: 15.95 kB / 0.8523 GB, free: 13.77 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.496e-05/0.6336, allocations: 14.83 kB / 0.8523 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.659e-05/0.6336, allocations: 14.22 kB / 0.8523 GB, free: 13.76 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0001883/0.6338, allocations: 230.7 kB / 0.8525 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6338, allocations: 0 / 0.8525 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0004581/0.6343, allocations: 120 kB / 0.8526 GB, free: 13.58 MB / 0.6231 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.000495/0.6348, allocations: 217.5 kB / 0.8528 GB, free: 13.44 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0004421/0.6352, allocations: 221.7 kB / 0.8531 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.6352, allocations: 6.281 kB / 0.8531 GB, free: 13.34 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002035/0.6355, allocations: 119 kB / 0.8532 GB, free: 13.28 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008083/0.6363, allocations: 164.2 kB / 0.8533 GB, free: 13.2 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009919/0.6373, allocations: 0.6335 MB / 0.8539 GB, free: 12.74 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.6376, allocations: 0.7869 MB / 0.8547 GB, free: 11.99 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.61e-05/0.6377, allocations: 27.84 kB / 0.8547 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of SimCode: time 2.1e-07/0.6377, allocations: 0 / 0.8547 GB, free: 11.98 MB / 0.6231 GB Notification: Performance of Templates: time 0.008184/0.6459, allocations: 6.258 MB / 0.8609 GB, free: 6.418 MB / 0.6231 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)