Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.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.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density") translateModel(IDEAS.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001132/0.001132, allocations: 109.5 kB / 16.41 MB, free: 5.996 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.001059/0.00106, allocations: 188.9 kB / 17.35 MB, free: 5.582 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.301/1.301, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8062/0.8062, allocations: 135.1 MB / 426.3 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 63.53 kB / 0.5863 GB, free: 21.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1333/0.1346, allocations: 80.93 MB / 0.6653 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.495/0.6296, allocations: 185 MB / 0.846 GB, free: 1.617 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008976/0.6386, allocations: 6.963 MB / 0.8528 GB, free: 11.97 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008422/0.6395, allocations: 32.78 kB / 0.8529 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001031/0.6406, allocations: 413.8 kB / 0.8533 GB, free: 11.62 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00325/0.6438, allocations: 1.502 MB / 0.8547 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002756/0.6466, allocations: 1.177 MB / 0.8559 GB, free: 9.598 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.002106/0.6487, allocations: 1.947 MB / 0.8578 GB, free: 8.484 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007644/0.6495, allocations: 0.6543 MB / 0.8584 GB, free: 8.078 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001273/0.6508, allocations: 0.8532 MB / 0.8592 GB, free: 7.57 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00105/0.6519, allocations: 0.6009 MB / 0.8598 GB, free: 7.219 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001008/0.652, allocations: 67.53 kB / 0.8599 GB, free: 7.219 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003437/0.6554, allocations: 1.934 MB / 0.8618 GB, free: 5.926 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000305/0.6557, allocations: 295.2 kB / 0.8621 GB, free: 5.637 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004414/0.6562, allocations: 434 kB / 0.8625 GB, free: 5.211 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002482/0.6587, allocations: 1.775 MB / 0.8642 GB, free: 3.434 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.6587, allocations: 0 / 0.8642 GB, free: 3.434 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.293e-06/0.6587, allocations: 0 / 0.8642 GB, free: 3.434 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.5e-05/0.6587, allocations: 0 / 0.8642 GB, free: 3.434 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.001609/0.6603, allocations: 1.19 MB / 0.8654 GB, free: 2.191 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.6604, allocations: 9.109 kB / 0.8654 GB, free: 2.184 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001841/0.6622, allocations: 283.2 kB / 0.8657 GB, free: 1.906 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000878/0.6631, allocations: 0.6148 MB / 0.8663 GB, free: 1.246 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.302e-05/0.6632, allocations: 41.31 kB / 0.8663 GB, free: 1.207 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.806e-05/0.6632, allocations: 60 kB / 0.8664 GB, free: 1.148 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009843/0.6642, allocations: 0.6323 MB / 0.867 GB, free: 0.5 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.956e-05/0.6643, allocations: 0 / 0.867 GB, free: 0.5 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.026e-05/0.6643, allocations: 24 kB / 0.867 GB, free: 488 kB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.472e-05/0.6644, allocations: 17.31 kB / 0.867 GB, free: 472 kB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009249/0.6653, allocations: 0.5243 MB / 0.8675 GB, free: 15.93 MB / 0.6387 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.002711/0.668, allocations: 2.457 MB / 0.8699 GB, free: 13.27 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006011/0.6686, allocations: 373.8 kB / 0.8703 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003773/0.669, allocations: 235.4 kB / 0.8705 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005504/0.6696, allocations: 307.6 kB / 0.8708 GB, free: 12.31 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.812e-05/0.6696, allocations: 38.89 kB / 0.8708 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=39): time 1.733e-06/0.6696, allocations: 0 / 0.8708 GB, free: 12.26 MB / 0.6387 GB Notification: Performance of matching and sorting (n=39): time 0.001297/0.6709, allocations: 0.6199 MB / 0.8714 GB, free: 11.64 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.671, allocations: 59.34 kB / 0.8715 GB, free: 11.57 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00051/0.6715, allocations: 0.4911 MB / 0.872 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 3.822e-05/0.6715, allocations: 33.7 kB / 0.872 GB, free: 11.03 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002042/0.6717, allocations: 340.9 kB / 0.8723 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001092/0.6719, allocations: 146.8 kB / 0.8725 GB, free: 10.54 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/0.672, allocations: 86.09 kB / 0.8726 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.6721, allocations: 370.8 kB / 0.8729 GB, free: 10.08 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003185/0.6725, allocations: 174.5 kB / 0.8731 GB, free: 9.906 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003854/0.6729, allocations: 284.2 kB / 0.8733 GB, free: 9.59 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006916/0.6736, allocations: 456.2 kB / 0.8738 GB, free: 9.113 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.6736, allocations: 0 / 0.8738 GB, free: 9.113 MB / 0.6387 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008561/0.6744, allocations: 0.5282 MB / 0.8743 GB, free: 8.578 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.6745, allocations: 4 kB / 0.8743 GB, free: 8.574 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.692e-06/0.6745, allocations: 4 kB / 0.8743 GB, free: 8.57 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.6745, allocations: 4 kB / 0.8743 GB, free: 8.566 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007037/0.6752, allocations: 138.6 kB / 0.8744 GB, free: 8.434 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003265/0.6755, allocations: 0.5899 MB / 0.875 GB, free: 7.82 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004892/0.676, allocations: 55.59 kB / 0.8751 GB, free: 7.766 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.939e-05/0.6761, allocations: 20 kB / 0.8751 GB, free: 7.746 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004879/0.6766, allocations: 353 kB / 0.8754 GB, free: 7.395 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003917/0.677, allocations: 288.2 kB / 0.8757 GB, free: 7.07 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006649/0.6777, allocations: 452.6 kB / 0.8761 GB, free: 6.598 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.733e-06/0.6777, allocations: 0 / 0.8761 GB, free: 6.598 MB / 0.6387 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008342/0.6785, allocations: 0.5245 MB / 0.8766 GB, free: 6.066 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.267e-05/0.6785, allocations: 11.94 kB / 0.8767 GB, free: 6.055 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.6785, allocations: 7.938 kB / 0.8767 GB, free: 6.047 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.769e-06/0.6786, allocations: 4 kB / 0.8767 GB, free: 6.043 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004929/0.6791, allocations: 111.9 kB / 0.8768 GB, free: 5.934 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.6791, allocations: 8 kB / 0.8768 GB, free: 5.926 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004591/0.6795, allocations: 31.83 kB / 0.8768 GB, free: 5.895 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.856e-05/0.6796, allocations: 28.05 kB / 0.8768 GB, free: 5.867 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * 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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001359/0.6797, allocations: 212.4 kB / 0.877 GB, free: 5.652 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.833e-05/0.6798, allocations: 67.55 kB / 0.8771 GB, free: 5.586 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008622/0.6807, allocations: 482.5 kB / 0.8776 GB, free: 5.113 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007649/0.6815, allocations: 0.7066 MB / 0.8783 GB, free: 4.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.6815, allocations: 3.938 kB / 0.8783 GB, free: 4.316 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002091/0.6817, allocations: 184.6 kB / 0.8784 GB, free: 4.117 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.537e-05/0.6818, allocations: 4 kB / 0.8784 GB, free: 4.113 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003901/0.6822, allocations: 22.39 kB / 0.8785 GB, free: 4.094 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.165e-05/0.6823, allocations: 19.97 kB / 0.8785 GB, free: 4.074 MB / 0.6387 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001255/0.6835, allocations: 0.5877 MB / 0.8791 GB, free: 3.477 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001127/0.6847, allocations: 0.8574 MB / 0.8799 GB, free: 2.602 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003099/0.685, allocations: 196.5 kB / 0.8801 GB, free: 2.41 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003532/0.6853, allocations: 346.8 kB / 0.8804 GB, free: 2.074 MB / 0.6387 GB Notification: Performance of Backend: time 4.41e-07/0.6854, allocations: 3.938 kB / 0.8804 GB, free: 2.07 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002348/0.6877, allocations: 0.9852 MB / 0.8814 GB, free: 1.094 MB / 0.6387 GB Notification: Performance of SimCode: time 0.002916/0.6906, allocations: 1.959 MB / 0.8833 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of Templates: time 0.02553/0.7162, allocations: 17.79 MB / 0.9007 GB, free: 13.44 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.Density.pipe 2>&1)