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.001047/0.001047, allocations: 104.3 kB / 16.35 MB, free: 5.875 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.001025/0.001025, allocations: 191.8 kB / 17.29 MB, free: 5.516 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.299/1.299, allocations: 222.9 MB / 241 MB, free: 14.99 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7714/0.7714, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 63.91 kB / 0.5067 GB, free: 7.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3577, allocations: 80.91 MB / 0.5858 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1646/0.5223, allocations: 169.4 MB / 0.7512 GB, free: 0.5547 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3644/0.8868, allocations: 7.131 MB / 0.7582 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004559/0.8873, allocations: 13.84 kB / 0.7582 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000524/0.8878, allocations: 163.2 kB / 0.7583 GB, free: 1.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003012/0.8909, allocations: 1.268 MB / 0.7596 GB, free: 1.676 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001687/0.8926, allocations: 0.635 MB / 0.7602 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0009158/0.8935, allocations: 0.7595 MB / 0.7609 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005087/0.8941, allocations: 288.6 kB / 0.7612 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001387/0.8954, allocations: 0.5635 MB / 0.7618 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008741/0.8963, allocations: 421.6 kB / 0.7622 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.607e-05/0.8964, allocations: 26.91 kB / 0.7622 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002652/0.8991, allocations: 1.247 MB / 0.7634 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000154/0.8992, allocations: 121.2 kB / 0.7635 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002308/0.8995, allocations: 174.8 kB / 0.7637 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001808/0.9013, allocations: 0.9099 MB / 0.7646 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/0.9013, allocations: 2.031 kB / 0.7646 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.425e-06/0.9013, allocations: 1.094 kB / 0.7646 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.065e-06/0.9013, allocations: 0.9062 kB / 0.7646 GB, free: 1.574 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.001228/0.9026, allocations: 0.6936 MB / 0.7653 GB, free: 17.07 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.01e-05/0.9026, allocations: 11.7 kB / 0.7653 GB, free: 17.07 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001095/0.9037, allocations: 130.8 kB / 0.7654 GB, free: 17.05 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006219/0.9044, allocations: 347.3 kB / 0.7657 GB, free: 16.82 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001058/0.9045, allocations: 50.25 kB / 0.7658 GB, free: 16.79 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.438e-05/0.9045, allocations: 29.81 kB / 0.7658 GB, free: 16.79 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007583/0.9053, allocations: 368.3 kB / 0.7662 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.9053, allocations: 1.703 kB / 0.7662 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.484e-05/0.9054, allocations: 9.781 kB / 0.7662 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.652e-05/0.9054, allocations: 8.094 kB / 0.7662 GB, free: 16.71 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006476/0.9061, allocations: 274.7 kB / 0.7664 GB, free: 16.7 MB / 0.5919 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.002164/0.9082, allocations: 1.49 MB / 0.7679 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003563/0.9086, allocations: 196.2 kB / 0.7681 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001817/0.9088, allocations: 114.1 kB / 0.7682 GB, free: 15.7 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009739/0.9098, allocations: 0.509 MB / 0.7687 GB, free: 15.23 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.225e-05/0.9098, allocations: 33.94 kB / 0.7687 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.452e-06/0.9098, allocations: 0.75 kB / 0.7687 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0009954/0.9108, allocations: 360 kB / 0.7691 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/0.9109, allocations: 54.27 kB / 0.7691 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003772/0.9113, allocations: 321.4 kB / 0.7694 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.22e-05/0.9113, allocations: 26.48 kB / 0.7695 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001317/0.9115, allocations: 185.2 kB / 0.7696 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.593e-05/0.9115, allocations: 51.2 kB / 0.7697 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.802e-05/0.9116, allocations: 45.73 kB / 0.7697 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001392/0.9118, allocations: 341.5 kB / 0.77 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002205/0.912, allocations: 90.23 kB / 0.7701 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002228/0.9122, allocations: 148 kB / 0.7703 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003615/0.9126, allocations: 245.8 kB / 0.7705 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.9126, allocations: 0 / 0.7705 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005533/0.9132, allocations: 283.3 kB / 0.7708 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.9132, allocations: 6.625 kB / 0.7708 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.043e-06/0.9132, allocations: 2.375 kB / 0.7708 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.9132, allocations: 3.812 kB / 0.7708 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000213/0.9134, allocations: 40.33 kB / 0.7708 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.207e-06/0.9135, allocations: 4.672 kB / 0.7708 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002188/0.9137, allocations: 32.69 kB / 0.7709 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.054e-05/0.9137, allocations: 22.5 kB / 0.7709 GB, free: 14.28 MB / 0.5919 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.0001569/0.9139, allocations: 152.8 kB / 0.771 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000102/0.914, allocations: 31.69 kB / 0.7711 GB, free: 14.15 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006068/0.9146, allocations: 309 kB / 0.7714 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.9146, allocations: 4.531 kB / 0.7714 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.9146, allocations: 3 kB / 0.7714 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.9146, allocations: 0 / 0.7714 GB, free: 14.11 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00117/0.9158, allocations: 0.8091 MB / 0.7722 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.9158, allocations: 2.875 kB / 0.7722 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001685/0.916, allocations: 39.55 kB / 0.7722 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.916, allocations: 2.906 kB / 0.7722 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.99e-05/0.916, allocations: 9.375 kB / 0.7722 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.348e-06/0.9161, allocations: 6.266 kB / 0.7722 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.9161, allocations: 2.531 kB / 0.7722 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005469/0.9166, allocations: 392.8 kB / 0.7726 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001624/0.9168, allocations: 135.3 kB / 0.7727 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.922e-05/0.9168, allocations: 17.94 kB / 0.7727 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002294/0.9171, allocations: 11.91 kB / 0.7727 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.427e-05/0.9172, allocations: 21.92 kB / 0.7728 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.577e-05/0.9172, allocations: 12 kB / 0.7728 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002529/0.9175, allocations: 226.8 kB / 0.773 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.71e-07/0.9175, allocations: 0.6562 kB / 0.773 GB, free: 13.34 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0006289/0.9181, allocations: 114.5 kB / 0.7731 GB, free: 13.33 MB / 0.5919 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.0005771/0.9187, allocations: 238.2 kB / 0.7733 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005196/0.9192, allocations: 222.2 kB / 0.7735 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.9192, allocations: 0.75 kB / 0.7735 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002382/0.9195, allocations: 115 kB / 0.7737 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008293/0.9203, allocations: 165.5 kB / 0.7738 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001103/0.9214, allocations: 0.6016 MB / 0.7744 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003769/0.9218, allocations: 0.7882 MB / 0.7752 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002629/0.9221, allocations: 83.62 kB / 0.7753 GB, free: 12.19 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.928e-05/0.9222, allocations: 28.47 kB / 0.7753 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of SimCode: time 2.41e-07/0.9222, allocations: 0 / 0.7753 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of Templates: time 0.01306/0.9352, allocations: 7.278 MB / 0.7824 GB, free: 11.86 MB / 0.5919 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 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)