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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 182.6 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7267/0.7267, allocations: 133.3 MB / 150.1 MB, free: 11.15 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.431/1.431, allocations: 222.9 MB / 404.7 MB, free: 6.047 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009905/0.0009906, allocations: 99.72 kB / 485.9 MB, free: 7.145 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001051/0.001051, allocations: 55.92 kB / 0.5636 GB, free: 69.92 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1911/0.1922, allocations: 80.42 MB / 0.6421 GB, free: 5.43 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.5794/0.7716, allocations: 182.8 MB / 0.8206 GB, free: 10.35 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01064/0.7823, allocations: 7.06 MB / 0.8275 GB, free: 3.277 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001341/0.7837, allocations: 27.81 kB / 0.8276 GB, free: 3.25 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001241/0.785, allocations: 342.1 kB / 0.8279 GB, free: 2.914 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.003966/0.789, allocations: 1.359 MB / 0.8292 GB, free: 1.551 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003081/0.7921, allocations: 1.057 MB / 0.8302 GB, free: 0.5 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.003337/0.7955, allocations: 2.717 MB / 0.8329 GB, free: 13.78 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009378/0.7964, allocations: 0.5643 MB / 0.8335 GB, free: 13.2 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001711/0.7981, allocations: 0.7314 MB / 0.8342 GB, free: 12.47 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001491/0.7996, allocations: 0.6225 MB / 0.8348 GB, free: 11.84 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 9.466e-05/0.7997, allocations: 36 kB / 0.8348 GB, free: 11.81 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004343/0.8041, allocations: 2.19 MB / 0.8369 GB, free: 9.613 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0003687/0.8045, allocations: 267.2 kB / 0.8372 GB, free: 9.352 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005354/0.805, allocations: 398 kB / 0.8376 GB, free: 8.961 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.003247/0.8083, allocations: 1.831 MB / 0.8394 GB, free: 7.125 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.8083, allocations: 0 / 0.8394 GB, free: 7.125 MB / 0.573 GB Notification: Performance of FrontEnd: time 9.62e-07/0.8083, allocations: 0 / 0.8394 GB, free: 7.125 MB / 0.573 GB Notification: Performance of Transformations before backend: time 9.448e-06/0.8083, allocations: 0 / 0.8394 GB, free: 7.125 MB / 0.573 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.00195/0.8103, allocations: 1.165 MB / 0.8405 GB, free: 5.906 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.8103, allocations: 8.031 kB / 0.8405 GB, free: 5.898 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001746/0.8121, allocations: 274.8 kB / 0.8408 GB, free: 5.629 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001014/0.8131, allocations: 0.5753 MB / 0.8413 GB, free: 5.016 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.963e-05/0.8132, allocations: 41.31 kB / 0.8414 GB, free: 4.977 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001218/0.8133, allocations: 59.91 kB / 0.8414 GB, free: 4.918 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001129/0.8144, allocations: 0.6362 MB / 0.8421 GB, free: 4.266 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.222e-05/0.8145, allocations: 0 / 0.8421 GB, free: 4.266 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.727e-05/0.8145, allocations: 24 kB / 0.8421 GB, free: 4.242 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.617e-05/0.8146, allocations: 17.31 kB / 0.8421 GB, free: 4.223 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001128/0.8157, allocations: 0.5204 MB / 0.8426 GB, free: 3.699 MB / 0.573 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.003449/0.8192, allocations: 2.445 MB / 0.845 GB, free: 1.039 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006245/0.8198, allocations: 386.2 kB / 0.8454 GB, free: 0.6602 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003667/0.8202, allocations: 233.4 kB / 0.8456 GB, free: 440 kB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005704/0.8208, allocations: 311.6 kB / 0.8459 GB, free: 72 kB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.52e-05/0.8208, allocations: 38.89 kB / 0.8459 GB, free: 24 kB / 0.573 GB Notification: Performance of pre-optimization done (n=39): time 2.615e-06/0.8208, allocations: 0 / 0.8459 GB, free: 24 kB / 0.573 GB Notification: Performance of matching and sorting (n=39): time 0.00139/0.8222, allocations: 0.6154 MB / 0.8465 GB, free: 15.4 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.8223, allocations: 59.34 kB / 0.8466 GB, free: 15.33 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005648/0.8229, allocations: 0.4911 MB / 0.8471 GB, free: 14.83 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 4.143e-05/0.8229, allocations: 33.7 kB / 0.8471 GB, free: 14.79 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002278/0.8231, allocations: 320.5 kB / 0.8474 GB, free: 14.47 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.8233, allocations: 141.9 kB / 0.8475 GB, free: 14.33 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/0.8234, allocations: 90.03 kB / 0.8476 GB, free: 14.24 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001471/0.8236, allocations: 370.8 kB / 0.848 GB, free: 13.87 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003145/0.8239, allocations: 174.5 kB / 0.8481 GB, free: 13.69 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003984/0.8243, allocations: 289.6 kB / 0.8484 GB, free: 13.37 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006771/0.825, allocations: 452 kB / 0.8488 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.066e-06/0.825, allocations: 0 / 0.8488 GB, free: 12.89 MB / 0.5886 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008959/0.8259, allocations: 0.528 MB / 0.8494 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.8259, allocations: 7.938 kB / 0.8494 GB, free: 12.35 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/0.826, allocations: 7.984 kB / 0.8494 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.826, allocations: 7.984 kB / 0.8494 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007418/0.8267, allocations: 131.8 kB / 0.8495 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003813/0.8271, allocations: 0.5977 MB / 0.8501 GB, free: 11.59 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006465/0.8278, allocations: 83.58 kB / 0.8502 GB, free: 11.5 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.179e-05/0.8278, allocations: 16 kB / 0.8502 GB, free: 11.49 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005355/0.8284, allocations: 354.2 kB / 0.8505 GB, free: 11.14 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003864/0.8288, allocations: 284.3 kB / 0.8508 GB, free: 10.82 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007174/0.8295, allocations: 448.6 kB / 0.8512 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.723e-06/0.8295, allocations: 0 / 0.8512 GB, free: 10.35 MB / 0.5886 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008745/0.8304, allocations: 0.52 MB / 0.8517 GB, free: 9.824 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.8304, allocations: 9.031 kB / 0.8517 GB, free: 9.816 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.106e-06/0.8304, allocations: 7.938 kB / 0.8517 GB, free: 9.809 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.632e-06/0.8305, allocations: 4 kB / 0.8517 GB, free: 9.805 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004795/0.8309, allocations: 116.1 kB / 0.8519 GB, free: 9.691 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.831, allocations: 11.98 kB / 0.8519 GB, free: 9.68 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006029/0.8316, allocations: 67.59 kB / 0.8519 GB, free: 9.613 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/0.8316, allocations: 24.53 kB / 0.852 GB, free: 9.59 MB / 0.5886 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.0001773/0.8318, allocations: 204.2 kB / 0.8522 GB, free: 9.383 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.624e-05/0.8319, allocations: 59.28 kB / 0.8522 GB, free: 9.324 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009096/0.8328, allocations: 486.8 kB / 0.8527 GB, free: 8.84 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.661e-06/0.8328, allocations: 4 kB / 0.8527 GB, free: 8.836 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.8328, allocations: 4 kB / 0.8527 GB, free: 8.832 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008127/0.8337, allocations: 0.6988 MB / 0.8534 GB, free: 8.047 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002003/0.8357, allocations: 1.285 MB / 0.8546 GB, free: 6.684 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.537e-06/0.8357, allocations: 0 / 0.8546 GB, free: 6.684 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006111/0.8363, allocations: 125.8 kB / 0.8547 GB, free: 6.562 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.214e-06/0.8363, allocations: 4 kB / 0.8547 GB, free: 6.559 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.381e-05/0.8364, allocations: 12.22 kB / 0.8548 GB, free: 6.547 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003232/0.8367, allocations: 0.5938 MB / 0.8553 GB, free: 5.93 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/0.8367, allocations: 7.969 kB / 0.8553 GB, free: 5.922 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009372/0.8461, allocations: 4.52 MB / 0.8598 GB, free: 1.207 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003274/0.8465, allocations: 184.3 kB / 0.8599 GB, free: 1.008 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.359e-05/0.8466, allocations: 8 kB / 0.8599 GB, free: 1 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005158/0.8471, allocations: 47.89 kB / 0.86 GB, free: 0.9531 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.944e-05/0.8472, allocations: 27.91 kB / 0.86 GB, free: 0.9258 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.585e-05/0.8472, allocations: 16 kB / 0.86 GB, free: 0.9102 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0004192/0.8477, allocations: 354.8 kB / 0.8604 GB, free: 0.5664 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.9e-07/0.8477, allocations: 7.938 kB / 0.8604 GB, free: 0.5586 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.002114/0.8498, allocations: 0.5616 MB / 0.8609 GB, free: 15.99 MB / 0.6042 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 (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 Backend phase and start with SimCode phase: time 0.0005934/0.8504, allocations: 238.3 kB / 0.8611 GB, free: 15.76 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001608/0.852, allocations: 0.668 MB / 0.8618 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 7.714e-06/0.852, allocations: 0 / 0.8618 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004706/0.8525, allocations: 219.7 kB / 0.862 GB, free: 14.88 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001908/0.8544, allocations: 363.4 kB / 0.8624 GB, free: 14.53 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002979/0.8574, allocations: 1.91 MB / 0.8642 GB, free: 12.55 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006417/0.8581, allocations: 0.9653 MB / 0.8652 GB, free: 11.56 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0008771/0.859, allocations: 216.9 kB / 0.8654 GB, free: 11.35 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002094/0.8592, allocations: 59.42 kB / 0.8654 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of SimCode: time 8.01e-07/0.8592, allocations: 0 / 0.8654 GB, free: 11.29 MB / 0.6042 GB Notification: Performance of Templates: time 0.02455/0.8838, allocations: 13.55 MB / 0.8787 GB, free: 13.91 MB / 0.6198 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)