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.001498/0.001499, allocations: 108.6 kB / 15.99 MB, free: 6.348 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.001441/0.001442, allocations: 189.2 kB / 16.91 MB, free: 6.184 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.372/1.372, allocations: 222.9 MB / 240.6 MB, free: 13.73 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8681/0.8681, allocations: 135.2 MB / 425.9 MB, free: 4.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002177/0.002177, allocations: 67.89 kB / 0.5055 GB, free: 8.676 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4297/0.4319, allocations: 80.93 MB / 0.5846 GB, free: 24.98 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.EntropyFlowRate): time 0.2016/0.6335, allocations: 167.2 MB / 0.7478 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.336/0.9696, allocations: 7.081 MB / 0.7547 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004717/0.9701, allocations: 13.72 kB / 0.7547 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000486/0.9706, allocations: 137.8 kB / 0.7549 GB, free: 1.777 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002702/0.9734, allocations: 1.195 MB / 0.756 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001427/0.9748, allocations: 0.5769 MB / 0.7566 GB, free: 1.707 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0006847/0.9755, allocations: 0.7653 MB / 0.7573 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003629/0.9759, allocations: 280.5 kB / 0.7576 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009628/0.9768, allocations: 0.5616 MB / 0.7582 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006623/0.9775, allocations: 442.2 kB / 0.7586 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.937e-05/0.9776, allocations: 27.19 kB / 0.7586 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001908/0.9795, allocations: 1.306 MB / 0.7599 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001457/0.9796, allocations: 117.6 kB / 0.76 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000207/0.9799, allocations: 177.8 kB / 0.7602 GB, free: 1.672 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009356/0.9808, allocations: 0.6282 MB / 0.7608 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.9808, allocations: 0 / 0.7608 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.793e-06/0.9808, allocations: 0 / 0.7608 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.9808, allocations: 1.125 kB / 0.7608 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.001104/0.9819, allocations: 0.6956 MB / 0.7614 GB, free: 17.13 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.68e-05/0.982, allocations: 10.58 kB / 0.7615 GB, free: 17.13 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001015/0.983, allocations: 129.9 kB / 0.7616 GB, free: 17.11 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004224/0.9834, allocations: 329 kB / 0.7619 GB, free: 16.88 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.749e-05/0.9835, allocations: 49.42 kB / 0.7619 GB, free: 16.85 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.736e-05/0.9836, allocations: 28.02 kB / 0.762 GB, free: 16.85 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006533/0.9842, allocations: 367.3 kB / 0.7623 GB, free: 16.77 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.195e-05/0.9843, allocations: 1.438 kB / 0.7623 GB, free: 16.77 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.349e-05/0.9843, allocations: 12.12 kB / 0.7623 GB, free: 16.77 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.186e-05/0.9843, allocations: 7.547 kB / 0.7623 GB, free: 16.77 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005231/0.9848, allocations: 278.6 kB / 0.7626 GB, free: 16.77 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.001889/0.9867, allocations: 1.488 MB / 0.7641 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004156/0.9872, allocations: 193.9 kB / 0.7642 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002493/0.9874, allocations: 121 kB / 0.7644 GB, free: 15.76 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001176/0.9886, allocations: 0.5059 MB / 0.7649 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.241e-05/0.9887, allocations: 37.22 kB / 0.7649 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.593e-06/0.9887, allocations: 0.875 kB / 0.7649 GB, free: 15.25 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.001023/0.9897, allocations: 360.3 kB / 0.7652 GB, free: 15.2 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.201e-05/0.9898, allocations: 56.88 kB / 0.7653 GB, free: 15.13 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003735/0.9901, allocations: 312.8 kB / 0.7656 GB, free: 15.03 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.783e-05/0.9902, allocations: 31.33 kB / 0.7656 GB, free: 15 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001187/0.9903, allocations: 184.4 kB / 0.7658 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.332e-05/0.9904, allocations: 47.92 kB / 0.7658 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.329e-05/0.9905, allocations: 54.64 kB / 0.7659 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000149/0.9906, allocations: 340 kB / 0.7662 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000168/0.9908, allocations: 85.11 kB / 0.7663 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001958/0.991, allocations: 151 kB / 0.7664 GB, free: 14.47 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003415/0.9913, allocations: 236.4 kB / 0.7667 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.9913, allocations: 2.781 kB / 0.7667 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0005249/0.9919, allocations: 283.6 kB / 0.7669 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.9919, allocations: 11.34 kB / 0.7669 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.471e-06/0.9919, allocations: 0 / 0.7669 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.53e-05/0.9919, allocations: 3.656 kB / 0.767 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/0.9922, allocations: 42.14 kB / 0.767 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.825e-06/0.9922, allocations: 5.531 kB / 0.767 GB, free: 14.36 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002431/0.9924, allocations: 42.06 kB / 0.767 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/0.9925, allocations: 10.31 kB / 0.767 GB, free: 14.35 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.0001666/0.9926, allocations: 160 kB / 0.7672 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001061/0.9927, allocations: 27.72 kB / 0.7672 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007376/0.9935, allocations: 308.8 kB / 0.7675 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.45e-06/0.9935, allocations: 6.125 kB / 0.7675 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.9935, allocations: 0.875 kB / 0.7675 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.956e-06/0.9935, allocations: 0.5312 kB / 0.7675 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001328/0.9949, allocations: 0.8119 MB / 0.7683 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.9949, allocations: 4.156 kB / 0.7683 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001906/0.9951, allocations: 36.48 kB / 0.7684 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.36e-06/0.9951, allocations: 3.312 kB / 0.7684 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.007e-05/0.9951, allocations: 4.156 kB / 0.7684 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.913e-06/0.9951, allocations: 10.19 kB / 0.7684 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.9951, allocations: 2.375 kB / 0.7684 GB, free: 13.8 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005171/0.9957, allocations: 398.8 kB / 0.7688 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001376/0.9958, allocations: 136.7 kB / 0.7689 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.384e-05/0.9959, allocations: 11.16 kB / 0.7689 GB, free: 13.49 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002567/0.9961, allocations: 25.88 kB / 0.7689 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.021e-05/0.9962, allocations: 19.05 kB / 0.7689 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/0.9962, allocations: 11.75 kB / 0.769 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001971/0.9964, allocations: 227.7 kB / 0.7692 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9964, allocations: 0.8438 kB / 0.7692 GB, free: 13.41 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0005477/0.997, allocations: 119.7 kB / 0.7693 GB, free: 13.39 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.0005214/0.9975, allocations: 231.6 kB / 0.7695 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0005122/0.998, allocations: 230.6 kB / 0.7697 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.788e-06/0.998, allocations: 1.594 kB / 0.7697 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002264/0.9983, allocations: 121.4 kB / 0.7698 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008279/0.9991, allocations: 169.5 kB / 0.77 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001062/1, allocations: 0.7412 MB / 0.7707 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004215/1.001, allocations: 0.786 MB / 0.7715 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/1.001, allocations: 29.06 kB / 0.7715 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of SimCode: time 2.6e-07/1.001, allocations: 0 / 0.7715 GB, free: 12.1 MB / 0.5919 GB Notification: Performance of Templates: time 0.009004/1.01, allocations: 6.241 MB / 0.7776 GB, free: 11.73 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.EntropyFlowRate.pipe 2>&1)