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.001545/0.001545, allocations: 103.2 kB / 16.35 MB, free: 5.828 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.001856/0.001856, allocations: 189.4 kB / 17.29 MB, free: 5.484 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.366/1.366, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7758/0.7758, allocations: 132.2 MB / 423.3 MB, free: 6.578 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001305/0.001305, allocations: 63.91 kB / 0.5032 GB, free: 10.9 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3346/0.3359, allocations: 80.19 MB / 0.5815 GB, free: 27.56 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.1732/0.5091, allocations: 169.4 MB / 0.747 GB, free: 4.191 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.4205/0.9297, allocations: 7.132 MB / 0.7539 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006111/0.9304, allocations: 11.03 kB / 0.7539 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0005871/0.931, allocations: 170.1 kB / 0.7541 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003446/0.9345, allocations: 1.268 MB / 0.7553 GB, free: 1.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001651/0.9361, allocations: 0.6313 MB / 0.7559 GB, free: 1.719 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0008823/0.937, allocations: 0.7639 MB / 0.7567 GB, free: 1.715 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004118/0.9375, allocations: 292.6 kB / 0.757 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001119/0.9386, allocations: 0.5622 MB / 0.7575 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007426/0.9393, allocations: 425.1 kB / 0.7579 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.369e-05/0.9394, allocations: 24.91 kB / 0.7579 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002516/0.9419, allocations: 1.244 MB / 0.7592 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001861/0.9421, allocations: 117.8 kB / 0.7593 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0002464/0.9424, allocations: 176.8 kB / 0.7594 GB, free: 1.68 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001774/0.9442, allocations: 0.9134 MB / 0.7603 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.9442, allocations: 0.7812 kB / 0.7603 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.715e-06/0.9442, allocations: 0 / 0.7603 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.037e-06/0.9442, allocations: 2.141 kB / 0.7603 GB, free: 1.629 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.001243/0.9455, allocations: 0.6885 MB / 0.761 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.9455, allocations: 9.875 kB / 0.761 GB, free: 17.14 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001083/0.9466, allocations: 128.7 kB / 0.7611 GB, free: 17.12 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006066/0.9472, allocations: 338.2 kB / 0.7615 GB, free: 16.89 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.429e-05/0.9473, allocations: 49.7 kB / 0.7615 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.948e-05/0.9474, allocations: 25.94 kB / 0.7615 GB, free: 16.86 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007279/0.9481, allocations: 370.9 kB / 0.7619 GB, free: 16.78 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.9481, allocations: 2.266 kB / 0.7619 GB, free: 16.78 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.66e-05/0.9482, allocations: 13.94 kB / 0.7619 GB, free: 16.78 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.557e-05/0.9482, allocations: 7.5 kB / 0.7619 GB, free: 16.78 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006088/0.9488, allocations: 273.1 kB / 0.7622 GB, free: 16.78 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.002129/0.9509, allocations: 1.493 MB / 0.7636 GB, free: 15.8 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004577/0.9514, allocations: 204.5 kB / 0.7638 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002509/0.9517, allocations: 117.2 kB / 0.7639 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001036/0.9527, allocations: 0.502 MB / 0.7644 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/0.9528, allocations: 34.16 kB / 0.7645 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.252e-06/0.9528, allocations: 0.6562 kB / 0.7645 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0008986/0.9537, allocations: 363.7 kB / 0.7648 GB, free: 15.21 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.682e-05/0.9537, allocations: 55 kB / 0.7649 GB, free: 15.14 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002849/0.954, allocations: 312.5 kB / 0.7652 GB, free: 15.04 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.489e-05/0.9541, allocations: 29.8 kB / 0.7652 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001192/0.9542, allocations: 186.6 kB / 0.7654 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.969e-05/0.9543, allocations: 47.77 kB / 0.7654 GB, free: 14.87 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.979e-05/0.9543, allocations: 53.7 kB / 0.7655 GB, free: 14.85 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001324/0.9545, allocations: 337.1 kB / 0.7658 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001725/0.9547, allocations: 89.69 kB / 0.7659 GB, free: 14.54 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002096/0.9549, allocations: 147.1 kB / 0.766 GB, free: 14.48 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003517/0.9552, allocations: 236.2 kB / 0.7662 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.9552, allocations: 3.312 kB / 0.7662 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005013/0.9557, allocations: 285.5 kB / 0.7665 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.9558, allocations: 6.844 kB / 0.7665 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.9558, allocations: 1.031 kB / 0.7665 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/0.9558, allocations: 7.062 kB / 0.7665 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002199/0.956, allocations: 43.44 kB / 0.7666 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.9561, allocations: 2.531 kB / 0.7666 GB, free: 14.38 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000211/0.9563, allocations: 34.28 kB / 0.7666 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.745e-05/0.9563, allocations: 14.47 kB / 0.7666 GB, free: 14.36 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.0001508/0.9565, allocations: 156.1 kB / 0.7668 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000103/0.9566, allocations: 29.19 kB / 0.7668 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006615/0.9572, allocations: 312.8 kB / 0.7671 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.9573, allocations: 2.75 kB / 0.7671 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/0.9573, allocations: 0.875 kB / 0.7671 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.9573, allocations: 0.875 kB / 0.7671 GB, free: 14.19 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001518/0.9588, allocations: 0.8094 MB / 0.7679 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.9588, allocations: 3.344 kB / 0.7679 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002153/0.9591, allocations: 35.02 kB / 0.7679 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.325e-06/0.9591, allocations: 4.5 kB / 0.7679 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.508e-05/0.9591, allocations: 7.594 kB / 0.7679 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.945e-06/0.9591, allocations: 7.594 kB / 0.7679 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.342e-06/0.9591, allocations: 5.656 kB / 0.7679 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007169/0.9598, allocations: 398.1 kB / 0.7683 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001937/0.9601, allocations: 137.8 kB / 0.7685 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.904e-05/0.9601, allocations: 3.344 kB / 0.7685 GB, free: 13.51 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002535/0.9604, allocations: 22.38 kB / 0.7685 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.213e-05/0.9604, allocations: 20.58 kB / 0.7685 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.465e-05/0.9605, allocations: 11.25 kB / 0.7685 GB, free: 13.5 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002887/0.9608, allocations: 227.2 kB / 0.7687 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9608, allocations: 1.031 kB / 0.7687 GB, free: 13.42 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000665/0.9615, allocations: 115.7 kB / 0.7688 GB, free: 13.41 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.0005623/0.962, allocations: 238.6 kB / 0.7691 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004561/0.9625, allocations: 215.7 kB / 0.7693 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.9625, allocations: 0.8438 kB / 0.7693 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002311/0.9627, allocations: 123.6 kB / 0.7694 GB, free: 13.3 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008143/0.9636, allocations: 165.7 kB / 0.7695 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001126/0.9647, allocations: 0.5986 MB / 0.7701 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003843/0.9651, allocations: 0.7903 MB / 0.7709 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0002721/0.9654, allocations: 84.64 kB / 0.771 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.474e-05/0.9655, allocations: 29.14 kB / 0.771 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of SimCode: time 2.71e-07/0.9655, allocations: 0 / 0.771 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of Templates: time 0.01268/0.9782, allocations: 7.275 MB / 0.7781 GB, free: 11.96 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)