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.009985/0.009986, allocations: 101.5 kB / 15.73 MB, free: 5.98 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.001892/0.001892, allocations: 190.5 kB / 16.67 MB, free: 5.918 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.427/1.427, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7379/0.7379, allocations: 132.2 MB / 422.7 MB, free: 1.707 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00133/0.00133, allocations: 67.91 kB / 0.5814 GB, free: 7.59 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4411/0.4424, allocations: 80.2 MB / 0.6597 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.2052/0.6477, allocations: 185 MB / 0.8404 GB, free: 12.61 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01052/0.6583, allocations: 6.969 MB / 0.8472 GB, free: 5.617 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001164/0.6595, allocations: 31.81 kB / 0.8472 GB, free: 5.586 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001347/0.6608, allocations: 413.5 kB / 0.8476 GB, free: 5.18 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004071/0.665, allocations: 1.497 MB / 0.8491 GB, free: 3.676 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003364/0.6683, allocations: 1.182 MB / 0.8502 GB, free: 2.5 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00325/0.6716, allocations: 1.948 MB / 0.8521 GB, free: 0.543 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001279/0.6729, allocations: 0.6628 MB / 0.8528 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001782/0.6747, allocations: 0.8601 MB / 0.8536 GB, free: 15.01 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001482/0.6762, allocations: 0.5984 MB / 0.8542 GB, free: 14.41 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002322/0.6764, allocations: 68 kB / 0.8543 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003736/0.6802, allocations: 1.941 MB / 0.8562 GB, free: 12.4 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004202/0.6806, allocations: 291.1 kB / 0.8564 GB, free: 12.11 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007162/0.6813, allocations: 426.1 kB / 0.8568 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003214/0.6846, allocations: 1.769 MB / 0.8586 GB, free: 9.922 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.6846, allocations: 0 / 0.8586 GB, free: 9.922 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6846, allocations: 4 kB / 0.8586 GB, free: 9.918 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.321e-05/0.6846, allocations: 0 / 0.8586 GB, free: 9.918 MB / 0.6856 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.00221/0.6869, allocations: 1.161 MB / 0.8597 GB, free: 8.707 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.537e-05/0.6869, allocations: 8.031 kB / 0.8597 GB, free: 8.699 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002063/0.689, allocations: 274.7 kB / 0.86 GB, free: 8.43 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.69, allocations: 0.6104 MB / 0.8606 GB, free: 7.777 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.847e-05/0.6901, allocations: 37.31 kB / 0.8606 GB, free: 7.742 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001023/0.6902, allocations: 67.92 kB / 0.8607 GB, free: 7.676 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.6913, allocations: 0.6284 MB / 0.8613 GB, free: 7.031 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.099e-05/0.6913, allocations: 0 / 0.8613 GB, free: 7.031 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.394e-05/0.6914, allocations: 20 kB / 0.8613 GB, free: 7.012 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.935e-05/0.6914, allocations: 25.31 kB / 0.8613 GB, free: 6.988 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009662/0.6924, allocations: 0.5164 MB / 0.8618 GB, free: 6.473 MB / 0.6856 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.003102/0.6955, allocations: 2.449 MB / 0.8642 GB, free: 3.809 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006311/0.6962, allocations: 375.7 kB / 0.8646 GB, free: 3.434 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003731/0.6966, allocations: 237.4 kB / 0.8648 GB, free: 3.199 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005749/0.6971, allocations: 311.5 kB / 0.8651 GB, free: 2.84 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.6972, allocations: 34.89 kB / 0.8651 GB, free: 2.797 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=39): time 1.673e-06/0.6972, allocations: 4 kB / 0.8651 GB, free: 2.793 MB / 0.6856 GB Notification: Performance of matching and sorting (n=39): time 0.001405/0.6986, allocations: 0.623 MB / 0.8658 GB, free: 2.164 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.408e-05/0.6987, allocations: 59.39 kB / 0.8658 GB, free: 2.094 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006093/0.6993, allocations: 0.495 MB / 0.8663 GB, free: 1.59 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 4.388e-05/0.6993, allocations: 37.7 kB / 0.8663 GB, free: 1.547 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002522/0.6996, allocations: 324.4 kB / 0.8666 GB, free: 1.223 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.6997, allocations: 138 kB / 0.8668 GB, free: 1.086 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000167/0.6999, allocations: 86.12 kB / 0.8669 GB, free: 0.9961 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001687/0.7001, allocations: 366.7 kB / 0.8672 GB, free: 0.6289 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003477/0.7004, allocations: 178.5 kB / 0.8674 GB, free: 460 kB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000419/0.7009, allocations: 288.2 kB / 0.8676 GB, free: 128 kB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.356/1.057, allocations: 441.3 kB / 0.8681 GB, free: 196.3 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.66e-06/1.057, allocations: 0.75 kB / 0.8681 GB, free: 196.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001092/1.058, allocations: 0.5289 MB / 0.8686 GB, free: 196.2 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/1.058, allocations: 6.641 kB / 0.8686 GB, free: 196.2 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.049e-05/1.058, allocations: 1.344 kB / 0.8686 GB, free: 196.2 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.488e-05/1.058, allocations: 8.812 kB / 0.8686 GB, free: 196.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007862/1.059, allocations: 135 kB / 0.8687 GB, free: 196.2 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000288/1.059, allocations: 0.5921 MB / 0.8693 GB, free: 195.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000552/1.06, allocations: 51.41 kB / 0.8694 GB, free: 195.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.448e-05/1.06, allocations: 14.3 kB / 0.8694 GB, free: 195.6 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005348/1.06, allocations: 356.2 kB / 0.8697 GB, free: 195.4 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003832/1.061, allocations: 286.5 kB / 0.87 GB, free: 195.2 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006675/1.061, allocations: 454.5 kB / 0.8704 GB, free: 195 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.705e-06/1.061, allocations: 0.9375 kB / 0.8704 GB, free: 195 MB / 0.6856 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.000903/1.062, allocations: 0.5238 MB / 0.8709 GB, free: 194.8 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/1.062, allocations: 7.562 kB / 0.8709 GB, free: 194.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/1.062, allocations: 2.781 kB / 0.8709 GB, free: 194.8 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.564e-06/1.062, allocations: 4.859 kB / 0.8709 GB, free: 194.8 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005043/1.063, allocations: 121.7 kB / 0.8711 GB, free: 194.8 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/1.063, allocations: 5.188 kB / 0.8711 GB, free: 194.8 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004769/1.063, allocations: 39.64 kB / 0.8711 GB, free: 194.8 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.877e-05/1.063, allocations: 18.69 kB / 0.8711 GB, free: 194.8 MB / 0.6856 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.0001385/1.064, allocations: 217.8 kB / 0.8713 GB, free: 194.6 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000101/1.064, allocations: 64.86 kB / 0.8714 GB, free: 194.6 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009191/1.065, allocations: 479.7 kB / 0.8718 GB, free: 194.4 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.911e-06/1.065, allocations: 4.375 kB / 0.8719 GB, free: 194.4 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/1.065, allocations: 0 / 0.8719 GB, free: 194.4 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007411/1.065, allocations: 0.7112 MB / 0.8725 GB, free: 193.8 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001952/1.067, allocations: 1.277 MB / 0.8738 GB, free: 193.1 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/1.067, allocations: 2.438 kB / 0.8738 GB, free: 193.1 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006927/1.068, allocations: 118.9 kB / 0.8739 GB, free: 193.1 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.065e-06/1.068, allocations: 3.891 kB / 0.8739 GB, free: 193.1 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.666e-05/1.068, allocations: 14.06 kB / 0.8739 GB, free: 193.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002037/1.068, allocations: 0.5991 MB / 0.8745 GB, free: 192.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/1.068, allocations: 3.281 kB / 0.8745 GB, free: 192.5 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001215/1.07, allocations: 0.8241 MB / 0.8753 GB, free: 192.1 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002106/1.07, allocations: 185.1 kB / 0.8755 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.297e-05/1.07, allocations: 20.89 kB / 0.8755 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004016/1.07, allocations: 17.66 kB / 0.8755 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.3e-05/1.07, allocations: 32.94 kB / 0.8756 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-05/1.07, allocations: 17 kB / 0.8756 GB, free: 191.9 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0004476/1.071, allocations: 353.5 kB / 0.8759 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of sort global known variables: time 9.62e-07/1.071, allocations: 0 / 0.8759 GB, free: 191.8 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001263/1.072, allocations: 360.7 kB / 0.8763 GB, free: 191.7 MB / 0.6856 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.0005446/1.073, allocations: 200.5 kB / 0.8765 GB, free: 191.6 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.001542/1.074, allocations: 0.6682 MB / 0.8771 GB, free: 191.4 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/1.074, allocations: 4.562 kB / 0.8771 GB, free: 191.4 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0005316/1.075, allocations: 222.1 kB / 0.8773 GB, free: 191.3 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001602/1.076, allocations: 376.1 kB / 0.8777 GB, free: 191.2 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002367/1.079, allocations: 1.371 MB / 0.879 GB, free: 190.5 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/1.079, allocations: 0.946 MB / 0.8799 GB, free: 189.8 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0006726/1.08, allocations: 205 kB / 0.8801 GB, free: 189.7 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001468/1.08, allocations: 55.84 kB / 0.8802 GB, free: 189.7 MB / 0.6856 GB Notification: Performance of SimCode: time 7.52e-07/1.08, allocations: 0 / 0.8802 GB, free: 189.7 MB / 0.6856 GB Notification: Performance of Templates: time 0.02255/1.103, allocations: 12.53 MB / 0.8924 GB, free: 184 MB / 0.6856 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)