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.001503/0.001504, allocations: 109.9 kB / 16.41 MB, free: 6.492 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.001632/0.001632, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.37/1.37, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8145/0.8145, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001471/0.001471, allocations: 68.86 kB / 0.5863 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1407, allocations: 80.92 MB / 0.6653 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.5406/0.6814, allocations: 169.4 MB / 0.8308 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008271/0.6897, allocations: 7.134 MB / 0.8377 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000527/0.6902, allocations: 15.47 kB / 0.8378 GB, free: 8.465 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0006501/0.6909, allocations: 166.8 kB / 0.8379 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003344/0.6943, allocations: 1.267 MB / 0.8392 GB, free: 7.371 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001682/0.696, allocations: 0.6308 MB / 0.8398 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0009643/0.697, allocations: 0.7554 MB / 0.8405 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004811/0.6975, allocations: 291.8 kB / 0.8408 GB, free: 6.312 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001185/0.6987, allocations: 0.5707 MB / 0.8413 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008219/0.6995, allocations: 430.6 kB / 0.8418 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 5.291e-05/0.6996, allocations: 27.28 kB / 0.8418 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002051/0.7016, allocations: 1.24 MB / 0.843 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001214/0.7018, allocations: 118.9 kB / 0.8431 GB, free: 4.934 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001665/0.7019, allocations: 184.7 kB / 0.8433 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001217/0.7032, allocations: 0.9093 MB / 0.8442 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.7032, allocations: 0 / 0.8442 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.674e-06/0.7032, allocations: 0 / 0.8442 GB, free: 4.266 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.7032, allocations: 0 / 0.8442 GB, free: 4.266 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.0009623/0.7042, allocations: 0.6924 MB / 0.8448 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.386e-05/0.7042, allocations: 8.453 kB / 0.8449 GB, free: 3.656 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.7052, allocations: 126.7 kB / 0.845 GB, free: 3.598 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005055/0.7057, allocations: 350 kB / 0.8453 GB, free: 3.273 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.333e-05/0.7058, allocations: 46.86 kB / 0.8454 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.411e-05/0.7059, allocations: 25.38 kB / 0.8454 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006153/0.7065, allocations: 372.4 kB / 0.8457 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.366e-05/0.7065, allocations: 0 / 0.8457 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.439e-05/0.7066, allocations: 10.75 kB / 0.8457 GB, free: 2.977 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.7066, allocations: 12.66 kB / 0.8458 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004938/0.7071, allocations: 272.9 kB / 0.846 GB, free: 2.844 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.001727/0.7088, allocations: 1.489 MB / 0.8475 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003903/0.7092, allocations: 189.8 kB / 0.8477 GB, free: 1.383 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002109/0.7094, allocations: 117.2 kB / 0.8478 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009739/0.7104, allocations: 0.5111 MB / 0.8483 GB, free: 0.7969 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.383e-05/0.7105, allocations: 32.69 kB / 0.8483 GB, free: 0.7578 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=15): time 1.793e-06/0.7105, allocations: 3.938 kB / 0.8483 GB, free: 0.7539 MB / 0.6075 GB Notification: Performance of matching and sorting (n=15): time 0.000962/0.7114, allocations: 360.2 kB / 0.8486 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.695e-05/0.7115, allocations: 51.41 kB / 0.8487 GB, free: 0.5078 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003317/0.7118, allocations: 318.5 kB / 0.849 GB, free: 304 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.429e-05/0.7119, allocations: 33.64 kB / 0.849 GB, free: 264 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.712, allocations: 186.1 kB / 0.8492 GB, free: 92 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 4.835e-05/0.7121, allocations: 50.08 kB / 0.8493 GB, free: 48 kB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.813e-05/0.7122, allocations: 43.73 kB / 0.8493 GB, free: 16 kB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001562/0.7123, allocations: 346.3 kB / 0.8496 GB, free: 15.68 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001889/0.7125, allocations: 82.62 kB / 0.8497 GB, free: 15.64 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002421/0.7128, allocations: 153.6 kB / 0.8499 GB, free: 15.52 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004082/0.7132, allocations: 230.7 kB / 0.8501 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.7132, allocations: 0 / 0.8501 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005774/0.7138, allocations: 290 kB / 0.8503 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.703e-05/0.7138, allocations: 4.469 kB / 0.8504 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.443e-06/0.7139, allocations: 2.938 kB / 0.8504 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.893e-05/0.7139, allocations: 2.438 kB / 0.8504 GB, free: 15.22 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002338/0.7141, allocations: 41.81 kB / 0.8504 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.7141, allocations: 3.672 kB / 0.8504 GB, free: 15.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002209/0.7144, allocations: 33.3 kB / 0.8504 GB, free: 15.19 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.747e-05/0.7144, allocations: 14.19 kB / 0.8504 GB, free: 15.18 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.0001718/0.7146, allocations: 151 kB / 0.8506 GB, free: 15.04 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.7147, allocations: 38.27 kB / 0.8506 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007018/0.7154, allocations: 311.8 kB / 0.8509 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.7154, allocations: 0 / 0.8509 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.7154, allocations: 2.688 kB / 0.8509 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.618e-06/0.7154, allocations: 0 / 0.8509 GB, free: 14.84 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001325/0.7168, allocations: 0.8089 MB / 0.8517 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.7168, allocations: 7.219 kB / 0.8517 GB, free: 14.19 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000182/0.717, allocations: 29.39 kB / 0.8518 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/0.717, allocations: 9 kB / 0.8518 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.307e-05/0.717, allocations: 9.766 kB / 0.8518 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/0.717, allocations: 6.75 kB / 0.8518 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.717, allocations: 3 kB / 0.8518 GB, free: 14.17 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005973/0.7176, allocations: 402.5 kB / 0.8522 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001398/0.7178, allocations: 136.4 kB / 0.8523 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.977e-05/0.7178, allocations: 6.641 kB / 0.8523 GB, free: 13.72 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/0.7181, allocations: 19.73 kB / 0.8523 GB, free: 13.71 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.924e-05/0.7182, allocations: 15.61 kB / 0.8523 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.761e-05/0.7182, allocations: 9.719 kB / 0.8523 GB, free: 13.7 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0002202/0.7184, allocations: 224.2 kB / 0.8526 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7184, allocations: 2.281 kB / 0.8526 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.0005549/0.719, allocations: 118.5 kB / 0.8527 GB, free: 13.53 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.0006705/0.7197, allocations: 240 kB / 0.8529 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0005683/0.7203, allocations: 227.4 kB / 0.8531 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.136e-06/0.7203, allocations: 0 / 0.8531 GB, free: 13.27 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002339/0.7205, allocations: 123 kB / 0.8532 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009177/0.7214, allocations: 161.9 kB / 0.8534 GB, free: 13.13 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.7227, allocations: 0.6288 MB / 0.854 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004074/0.7231, allocations: 0.783 MB / 0.8548 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001182/0.7232, allocations: 30.03 kB / 0.8548 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of SimCode: time 3.5e-07/0.7233, allocations: 0 / 0.8548 GB, free: 11.92 MB / 0.6231 GB Notification: Performance of Templates: time 0.009816/0.7331, allocations: 6.288 MB / 0.8609 GB, free: 6.348 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)