Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.Density") translateModel(IDEAS.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001257/0.001257, allocations: 106.4 kB / 16.41 MB, free: 6.508 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.001301/0.001301, allocations: 192.3 kB / 17.35 MB, free: 5.738 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.323/1.323, 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.7657/0.7657, allocations: 132.2 MB / 423.4 MB, free: 6.641 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 70.14 kB / 0.582 GB, free: 23.77 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1276/0.1288, allocations: 80.2 MB / 0.6603 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.4776/0.6064, allocations: 185 MB / 0.841 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.009371/0.6158, allocations: 6.962 MB / 0.8478 GB, free: 1.789 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009869/0.6168, allocations: 25.75 kB / 0.8479 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001201/0.618, allocations: 415.6 kB / 0.8483 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003643/0.6217, allocations: 1.5 MB / 0.8497 GB, free: 304 kB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002776/0.6245, allocations: 1.189 MB / 0.8509 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.0024/0.6269, allocations: 1.941 MB / 0.8528 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009923/0.6279, allocations: 0.6673 MB / 0.8534 GB, free: 13.89 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001656/0.6296, allocations: 0.8434 MB / 0.8543 GB, free: 13.39 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001421/0.631, allocations: 0.6019 MB / 0.8549 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001725/0.6312, allocations: 72.34 kB / 0.8549 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003469/0.6347, allocations: 1.934 MB / 0.8568 GB, free: 11.95 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004044/0.6351, allocations: 292.2 kB / 0.8571 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006754/0.6358, allocations: 430.6 kB / 0.8575 GB, free: 11.49 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003127/0.6389, allocations: 1.776 MB / 0.8592 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.6389, allocations: 0 / 0.8592 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6389, allocations: 0 / 0.8592 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 3.044e-05/0.639, allocations: 0 / 0.8592 GB, free: 10.3 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.002238/0.6412, allocations: 1.161 MB / 0.8604 GB, free: 9.086 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.6413, allocations: 8.031 kB / 0.8604 GB, free: 9.078 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00201/0.6433, allocations: 278.7 kB / 0.8606 GB, free: 8.805 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001121/0.6444, allocations: 0.6065 MB / 0.8612 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.354e-05/0.6445, allocations: 41.31 kB / 0.8613 GB, free: 8.113 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.6446, allocations: 56 kB / 0.8613 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/0.6457, allocations: 0.6401 MB / 0.862 GB, free: 7.402 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.952e-05/0.6457, allocations: 0 / 0.862 GB, free: 7.402 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.786e-05/0.6458, allocations: 20 kB / 0.862 GB, free: 7.383 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.214e-05/0.6458, allocations: 29.25 kB / 0.862 GB, free: 7.355 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009513/0.6468, allocations: 0.5126 MB / 0.8625 GB, free: 6.84 MB / 0.6231 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.003176/0.65, allocations: 2.445 MB / 0.8649 GB, free: 4.18 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006471/0.6506, allocations: 382.5 kB / 0.8653 GB, free: 3.801 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003759/0.651, allocations: 237.3 kB / 0.8655 GB, free: 3.566 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005784/0.6516, allocations: 315.5 kB / 0.8658 GB, free: 3.203 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.6516, allocations: 34.83 kB / 0.8658 GB, free: 3.16 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=39): time 1.974e-06/0.6517, allocations: 3.938 kB / 0.8658 GB, free: 3.156 MB / 0.6231 GB Notification: Performance of matching and sorting (n=39): time 0.001381/0.653, allocations: 0.6186 MB / 0.8664 GB, free: 2.531 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.6531, allocations: 59.34 kB / 0.8665 GB, free: 2.461 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000558/0.6537, allocations: 0.4912 MB / 0.867 GB, free: 1.961 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.587e-05/0.6537, allocations: 37.7 kB / 0.867 GB, free: 1.918 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002244/0.6539, allocations: 324.4 kB / 0.8673 GB, free: 1.594 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001144/0.6541, allocations: 138 kB / 0.8674 GB, free: 1.457 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001486/0.6542, allocations: 94.12 kB / 0.8675 GB, free: 1.359 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.6544, allocations: 358.8 kB / 0.8679 GB, free: 1 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003339/0.6547, allocations: 174.5 kB / 0.868 GB, free: 0.8242 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004055/0.6551, allocations: 296.2 kB / 0.8683 GB, free: 0.4922 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007083/0.6558, allocations: 453.3 kB / 0.8687 GB, free: 20 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.935e-06/0.6559, allocations: 0 / 0.8687 GB, free: 20 kB / 0.6231 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009727/0.6568, allocations: 0.52 MB / 0.8693 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.6569, allocations: 8 kB / 0.8693 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.285e-06/0.6569, allocations: 4 kB / 0.8693 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/0.6569, allocations: 4 kB / 0.8693 GB, free: 15.47 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007449/0.6576, allocations: 132.1 kB / 0.8694 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003776/0.658, allocations: 0.6015 MB / 0.87 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005676/0.6586, allocations: 52.08 kB / 0.87 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.253e-05/0.6587, allocations: 20 kB / 0.8701 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005204/0.6592, allocations: 353.8 kB / 0.8704 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003982/0.6596, allocations: 280.3 kB / 0.8707 GB, free: 13.98 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006833/0.6603, allocations: 452.4 kB / 0.8711 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.395e-06/0.6603, allocations: 0 / 0.8711 GB, free: 13.51 MB / 0.6387 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009267/0.6612, allocations: 0.5202 MB / 0.8716 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/0.6613, allocations: 15.97 kB / 0.8716 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.6613, allocations: 0 / 0.8716 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/0.6613, allocations: 11.86 kB / 0.8716 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005242/0.6618, allocations: 115.9 kB / 0.8717 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.926e-06/0.6618, allocations: 11.88 kB / 0.8717 GB, free: 12.83 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005457/0.6624, allocations: 43.67 kB / 0.8718 GB, free: 12.79 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.572e-05/0.6624, allocations: 16 kB / 0.8718 GB, free: 12.77 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.0001683/0.6626, allocations: 204.2 kB / 0.872 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001163/0.6627, allocations: 67.19 kB / 0.8721 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009163/0.6637, allocations: 484 kB / 0.8725 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008119/0.6645, allocations: 0.703 MB / 0.8732 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.6645, allocations: 4 kB / 0.8732 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002772/0.6648, allocations: 172.3 kB / 0.8734 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.065e-05/0.6649, allocations: 12 kB / 0.8734 GB, free: 11.03 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004291/0.6653, allocations: 19.97 kB / 0.8734 GB, free: 11.01 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.388e-05/0.6654, allocations: 27.91 kB / 0.8734 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001327/0.6667, allocations: 0.5832 MB / 0.874 GB, free: 10.39 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001212/0.668, allocations: 0.8576 MB / 0.8748 GB, free: 9.516 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003092/0.6683, allocations: 191.9 kB / 0.875 GB, free: 9.328 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003988/0.6687, allocations: 354.8 kB / 0.8754 GB, free: 8.984 MB / 0.6387 GB Notification: Performance of Backend: time 2.004e-06/0.6687, allocations: 0 / 0.8754 GB, free: 8.984 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002761/0.6715, allocations: 0.9714 MB / 0.8763 GB, free: 8.02 MB / 0.6387 GB Notification: Performance of SimCode: time 0.003093/0.6746, allocations: 1.939 MB / 0.8782 GB, free: 6.043 MB / 0.6387 GB Notification: Performance of Templates: time 0.02893/0.7035, allocations: 17.8 MB / 0.8956 GB, free: 4.406 MB / 0.6544 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.Density.makefile (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.Density.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.Density.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.Density.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.Density.pipe 2>&1)