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.001242/0.001242, allocations: 115.7 kB / 16.42 MB, free: 6.496 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.001137/0.001137, allocations: 185.7 kB / 17.34 MB, free: 5.758 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.245/1.245, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7586/0.7586, allocations: 135.1 MB / 426.3 MB, free: 4.141 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001152/0.001152, allocations: 64.69 kB / 0.5863 GB, free: 21.72 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1338, allocations: 80.93 MB / 0.6653 GB, free: 5.785 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.4667/0.6005, allocations: 185 MB / 0.846 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.008957/0.6095, allocations: 6.966 MB / 0.8528 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008515/0.6104, allocations: 29.75 kB / 0.8529 GB, free: 12.02 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001034/0.6114, allocations: 411.9 kB / 0.8533 GB, free: 11.68 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.003197/0.6146, allocations: 1.505 MB / 0.8547 GB, free: 10.54 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002582/0.6172, allocations: 1.177 MB / 0.8559 GB, free: 9.66 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001985/0.6192, allocations: 1.939 MB / 0.8578 GB, free: 8.551 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007381/0.62, allocations: 0.663 MB / 0.8584 GB, free: 8.137 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001254/0.6212, allocations: 0.8493 MB / 0.8592 GB, free: 7.633 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009944/0.6222, allocations: 0.6015 MB / 0.8598 GB, free: 7.281 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 8.505e-05/0.6223, allocations: 67.66 kB / 0.8599 GB, free: 7.281 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002892/0.6252, allocations: 1.934 MB / 0.8618 GB, free: 6.031 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002619/0.6255, allocations: 295.2 kB / 0.8621 GB, free: 5.742 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0004526/0.626, allocations: 430 kB / 0.8625 GB, free: 5.32 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002174/0.6282, allocations: 1.779 MB / 0.8642 GB, free: 3.539 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.6282, allocations: 4 kB / 0.8642 GB, free: 3.535 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.352e-06/0.6282, allocations: 0 / 0.8642 GB, free: 3.535 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.286e-05/0.6282, allocations: 0 / 0.8642 GB, free: 3.535 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.001624/0.6298, allocations: 1.19 MB / 0.8654 GB, free: 2.293 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.6299, allocations: 9.109 kB / 0.8654 GB, free: 2.285 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001813/0.6317, allocations: 277.3 kB / 0.8657 GB, free: 2.016 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008653/0.6326, allocations: 0.6187 MB / 0.8663 GB, free: 1.352 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.623e-05/0.6326, allocations: 45.31 kB / 0.8663 GB, free: 1.309 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000102/0.6327, allocations: 55.98 kB / 0.8664 GB, free: 1.254 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009975/0.6337, allocations: 0.6362 MB / 0.867 GB, free: 0.6016 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.833e-05/0.6338, allocations: 0 / 0.867 GB, free: 0.6016 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.399e-05/0.6338, allocations: 24 kB / 0.867 GB, free: 0.5781 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.9e-05/0.6338, allocations: 17.31 kB / 0.867 GB, free: 0.5625 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008722/0.6347, allocations: 0.5243 MB / 0.8675 GB, free: 40 kB / 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.002773/0.6375, allocations: 2.453 MB / 0.8699 GB, free: 13.37 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005934/0.6381, allocations: 371.7 kB / 0.8703 GB, free: 13 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003541/0.6385, allocations: 237.4 kB / 0.8705 GB, free: 12.77 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005348/0.639, allocations: 307.6 kB / 0.8708 GB, free: 12.41 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.778e-05/0.6391, allocations: 38.89 kB / 0.8708 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=39): time 2.785e-06/0.6391, allocations: 0 / 0.8708 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of matching and sorting (n=39): time 0.001272/0.6403, allocations: 0.6238 MB / 0.8714 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.6404, allocations: 59.34 kB / 0.8715 GB, free: 11.66 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004966/0.6409, allocations: 0.4912 MB / 0.872 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.13e-05/0.6409, allocations: 37.7 kB / 0.872 GB, free: 11.12 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000215/0.6412, allocations: 325 kB / 0.8723 GB, free: 10.8 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.6413, allocations: 150.7 kB / 0.8725 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001362/0.6414, allocations: 86.08 kB / 0.8725 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001372/0.6416, allocations: 370.8 kB / 0.8729 GB, free: 10.18 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000313/0.6419, allocations: 174.5 kB / 0.8731 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003883/0.6423, allocations: 284.2 kB / 0.8733 GB, free: 9.695 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006911/0.643, allocations: 460.2 kB / 0.8738 GB, free: 9.215 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.643, allocations: 0 / 0.8738 GB, free: 9.215 MB / 0.6387 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008379/0.6438, allocations: 0.5243 MB / 0.8743 GB, free: 8.684 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.452e-05/0.6438, allocations: 4 kB / 0.8743 GB, free: 8.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.6439, allocations: 4 kB / 0.8743 GB, free: 8.676 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.6439, allocations: 4 kB / 0.8743 GB, free: 8.672 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006953/0.6446, allocations: 132.7 kB / 0.8744 GB, free: 8.543 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003369/0.6449, allocations: 0.594 MB / 0.875 GB, free: 7.926 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004849/0.6454, allocations: 59.59 kB / 0.8751 GB, free: 7.867 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.809e-05/0.6455, allocations: 23.81 kB / 0.8751 GB, free: 7.848 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004706/0.6459, allocations: 348.8 kB / 0.8754 GB, free: 7.5 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003792/0.6463, allocations: 288.4 kB / 0.8757 GB, free: 7.176 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006651/0.647, allocations: 452.6 kB / 0.8761 GB, free: 6.703 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.693e-06/0.647, allocations: 0 / 0.8761 GB, free: 6.703 MB / 0.6387 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008299/0.6479, allocations: 0.5218 MB / 0.8766 GB, free: 6.176 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/0.6479, allocations: 15.88 kB / 0.8767 GB, free: 6.16 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.6479, allocations: 4.281 kB / 0.8767 GB, free: 6.156 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.58e-06/0.6479, allocations: 11.98 kB / 0.8767 GB, free: 6.145 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004742/0.6484, allocations: 111.9 kB / 0.8768 GB, free: 6.035 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.6484, allocations: 8 kB / 0.8768 GB, free: 6.027 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005181/0.6489, allocations: 39.81 kB / 0.8768 GB, free: 5.988 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.842e-05/0.649, allocations: 20 kB / 0.8768 GB, free: 5.969 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.0001433/0.6491, allocations: 212.4 kB / 0.877 GB, free: 5.754 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.537e-05/0.6492, allocations: 63.56 kB / 0.8771 GB, free: 5.691 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008484/0.6501, allocations: 482.6 kB / 0.8776 GB, free: 5.215 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007661/0.6508, allocations: 0.7066 MB / 0.8783 GB, free: 4.422 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.6509, allocations: 0 / 0.8783 GB, free: 4.422 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002079/0.6511, allocations: 180.6 kB / 0.8784 GB, free: 4.227 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.847e-05/0.6512, allocations: 12 kB / 0.8784 GB, free: 4.215 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003785/0.6515, allocations: 15.98 kB / 0.8785 GB, free: 4.199 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.922e-05/0.6516, allocations: 23.97 kB / 0.8785 GB, free: 4.176 MB / 0.6387 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00122/0.6528, allocations: 0.5916 MB / 0.8791 GB, free: 3.574 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.001124/0.654, allocations: 0.8535 MB / 0.8799 GB, free: 2.703 MB / 0.6387 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003042/0.6543, allocations: 192.5 kB / 0.8801 GB, free: 2.516 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0003597/0.6547, allocations: 354.8 kB / 0.8804 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of Backend: time 4.71e-07/0.6547, allocations: 0 / 0.8804 GB, free: 2.172 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002354/0.657, allocations: 0.9879 MB / 0.8814 GB, free: 1.195 MB / 0.6387 GB Notification: Performance of SimCode: time 0.002723/0.6598, allocations: 1.961 MB / 0.8833 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of Templates: time 0.02683/0.6866, allocations: 17.79 MB / 0.9007 GB, free: 13.54 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)