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.0009494/0.0009495, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.001055/0.001055, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 223.3 MB / 240 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.741/0.741, allocations: 132.4 MB / 423.4 MB, free: 2.086 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002886/0.0002886, allocations: 16 kB / 0.5034 GB, free: 4.258 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3489/0.3492, allocations: 81.58 MB / 0.5831 GB, free: 3.984 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.1666/0.5158, allocations: 168.3 MB / 0.7474 GB, free: 7.809 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.008886/0.5247, allocations: 6.497 MB / 0.7538 GB, free: 1.293 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007064/0.5254, allocations: 23.81 kB / 0.7538 GB, free: 1.27 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000879/0.5263, allocations: 274.2 kB / 0.7541 GB, free: 1 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.002563/0.5289, allocations: 1.05 MB / 0.7551 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002107/0.531, allocations: 0.8467 MB / 0.7559 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002353/0.5334, allocations: 2.287 MB / 0.7582 GB, free: 12.81 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006698/0.5341, allocations: 0.4923 MB / 0.7586 GB, free: 12.31 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001087/0.5352, allocations: 0.6885 MB / 0.7593 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006878/0.5359, allocations: 0.5681 MB / 0.7599 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 6.928e-05/0.536, allocations: 32 kB / 0.7599 GB, free: 11.02 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002074/0.538, allocations: 1.134 MB / 0.761 GB, free: 9.879 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002378/0.5383, allocations: 247.2 kB / 0.7612 GB, free: 9.637 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001509/0.5384, allocations: 177.3 kB / 0.7614 GB, free: 9.457 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001116/0.5396, allocations: 1.146 MB / 0.7625 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.5396, allocations: 0 / 0.7625 GB, free: 8.309 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.374e-06/0.5396, allocations: 4 kB / 0.7625 GB, free: 8.305 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.285e-06/0.5396, allocations: 3.938 kB / 0.7625 GB, free: 8.301 MB / 0.5919 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.001394/0.541, allocations: 1.024 MB / 0.7635 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 2.912e-05/0.541, allocations: 8.031 kB / 0.7635 GB, free: 7.215 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001739/0.5428, allocations: 266.8 kB / 0.7638 GB, free: 6.953 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007856/0.5436, allocations: 0.5602 MB / 0.7643 GB, free: 6.355 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.789e-05/0.5436, allocations: 45.31 kB / 0.7644 GB, free: 6.312 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.242e-05/0.5437, allocations: 59.89 kB / 0.7644 GB, free: 6.254 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001025/0.5448, allocations: 0.6362 MB / 0.7651 GB, free: 5.602 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.5448, allocations: 0 / 0.7651 GB, free: 5.602 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.998e-05/0.5448, allocations: 24 kB / 0.7651 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.812e-05/0.5449, allocations: 21.3 kB / 0.7651 GB, free: 5.555 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009025/0.5458, allocations: 0.5243 MB / 0.7656 GB, free: 5.027 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.002647/0.5484, allocations: 2.453 MB / 0.768 GB, free: 2.363 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000599/0.549, allocations: 380.4 kB / 0.7684 GB, free: 1.984 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000373/0.5494, allocations: 245.4 kB / 0.7686 GB, free: 1.742 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005178/0.55, allocations: 319.5 kB / 0.7689 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.55, allocations: 38.89 kB / 0.769 GB, free: 1.328 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=39): time 1.593e-06/0.55, allocations: 0 / 0.769 GB, free: 1.328 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39): time 0.001286/0.5513, allocations: 0.6268 MB / 0.7696 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.006e-05/0.5513, allocations: 63.3 kB / 0.7696 GB, free: 0.6211 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005098/0.5519, allocations: 498.9 kB / 0.7701 GB, free: 124 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.191e-05/0.5519, allocations: 41.69 kB / 0.7701 GB, free: 76 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002134/0.5521, allocations: 316.5 kB / 0.7704 GB, free: 15.76 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.5522, allocations: 149.9 kB / 0.7706 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-05/0.5523, allocations: 8 kB / 0.7706 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.5524, allocations: 362.8 kB / 0.7709 GB, free: 15.24 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003139/0.5527, allocations: 168.8 kB / 0.7711 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003862/0.5531, allocations: 284.3 kB / 0.7714 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003662/0.5535, allocations: 219.8 kB / 0.7716 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.5535, allocations: 0 / 0.7716 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008574/0.5544, allocations: 0.5373 MB / 0.7721 GB, free: 14 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.631e-05/0.5545, allocations: 156.9 kB / 0.7723 GB, free: 13.81 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.5545, allocations: 7.953 kB / 0.7723 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.394e-05/0.5545, allocations: 4 kB / 0.7723 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006957/0.5552, allocations: 139.8 kB / 0.7724 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003158/0.5555, allocations: 0.5938 MB / 0.773 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005324/0.5561, allocations: 83.61 kB / 0.7731 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.79e-05/0.5561, allocations: 16 kB / 0.7731 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.542e-06/0.5561, allocations: 4 kB / 0.7731 GB, free: 12.95 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007831/0.5569, allocations: 459.9 kB / 0.7735 GB, free: 12.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.5569, allocations: 7.938 kB / 0.7735 GB, free: 12.49 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.189e-06/0.5569, allocations: 4 kB / 0.7735 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004957/0.5574, allocations: 128.1 kB / 0.7737 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.5575, allocations: 11.95 kB / 0.7737 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004702/0.5579, allocations: 73.2 kB / 0.7737 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.557e-05/0.558, allocations: 20 kB / 0.7738 GB, free: 12.26 MB / 0.6075 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002717/0.5583, allocations: 306.5 kB / 0.774 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.769e-05/0.5584, allocations: 63.25 kB / 0.7741 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008591/0.5592, allocations: 488 kB / 0.7746 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.5e-06/0.5592, allocations: 4 kB / 0.7746 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.077e-06/0.5593, allocations: 3.953 kB / 0.7746 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000753/0.56, allocations: 0.7185 MB / 0.7753 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001794/0.5618, allocations: 1.288 MB / 0.7765 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.5618, allocations: 0 / 0.7765 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006083/0.5624, allocations: 144 kB / 0.7767 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.54e-06/0.5625, allocations: 4 kB / 0.7767 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.098e-05/0.5625, allocations: 8 kB / 0.7767 GB, free: 9.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002512/0.5628, allocations: 0.59 MB / 0.7773 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/0.5628, allocations: 12.11 kB / 0.7773 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001123/0.5639, allocations: 0.8372 MB / 0.7781 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002021/0.5641, allocations: 176.4 kB / 0.7783 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.667e-05/0.5642, allocations: 16 kB / 0.7783 GB, free: 7.363 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004502/0.5647, allocations: 51.8 kB / 0.7783 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.834e-05/0.5647, allocations: 35.86 kB / 0.7784 GB, free: 7.277 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.057e-05/0.5648, allocations: 16.09 kB / 0.7784 GB, free: 7.262 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003553/0.5651, allocations: 346.8 kB / 0.7787 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.11e-07/0.5651, allocations: 0 / 0.7787 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000862/0.566, allocations: 359.2 kB / 0.779 GB, free: 6.574 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],senDenFlo.d) * 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 (39): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003888/0.5664, allocations: 220 kB / 0.7793 GB, free: 6.363 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001313/0.5677, allocations: 0.6645 MB / 0.7799 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.5677, allocations: 4 kB / 0.7799 GB, free: 5.695 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0003979/0.5681, allocations: 226 kB / 0.7801 GB, free: 5.477 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001578/0.5697, allocations: 355.6 kB / 0.7805 GB, free: 5.129 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002207/0.572, allocations: 1.721 MB / 0.7821 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004655/0.5724, allocations: 0.9496 MB / 0.7831 GB, free: 2.387 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006738/0.5731, allocations: 209 kB / 0.7833 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001331/0.5733, allocations: 51.42 kB / 0.7833 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of SimCode: time 2.4e-07/0.5733, allocations: 0 / 0.7833 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of Templates: time 0.01807/0.5913, allocations: 11.56 MB / 0.7946 GB, free: 6.77 MB / 0.6231 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)