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.000771/0.000771, allocations: 91.38 kB / 15.36 MB, free: 0.7383 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.00478/0.00478, allocations: 172.1 kB / 16.26 MB, free: 6.613 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.416/1.416, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7908/0.7908, allocations: 132.4 MB / 423.8 MB, free: 1.934 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004579/0.0004581, allocations: 12 kB / 0.504 GB, free: 3.895 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5311/0.5316, allocations: 81.57 MB / 0.5837 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.Density): time 0.2142/0.7458, allocations: 180.4 MB / 0.7598 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01059/0.7565, allocations: 6.956 MB / 0.7666 GB, free: 4.445 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001061/0.7576, allocations: 19.88 kB / 0.7666 GB, free: 4.426 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001122/0.7587, allocations: 342.1 kB / 0.767 GB, free: 4.09 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00383/0.7625, allocations: 1.362 MB / 0.7683 GB, free: 2.723 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002972/0.7655, allocations: 1.067 MB / 0.7693 GB, free: 1.664 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003282/0.7688, allocations: 2.701 MB / 0.772 GB, free: 14.96 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008766/0.7697, allocations: 0.5434 MB / 0.7725 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001672/0.7714, allocations: 0.7119 MB / 0.7732 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00133/0.7727, allocations: 0.6023 MB / 0.7738 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.746e-05/0.7728, allocations: 32 kB / 0.7738 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004121/0.777, allocations: 2.19 MB / 0.776 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003112/0.7773, allocations: 251.2 kB / 0.7762 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0005311/0.7778, allocations: 411.7 kB / 0.7766 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002698/0.7805, allocations: 1.807 MB / 0.7784 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.7806, allocations: 0 / 0.7784 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.354e-06/0.7806, allocations: 3.938 kB / 0.7784 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.024e-05/0.7806, allocations: 0 / 0.7784 GB, free: 8.387 MB / 0.6075 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.001716/0.7823, allocations: 1.013 MB / 0.7794 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/0.7824, allocations: 8.031 kB / 0.7794 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001845/0.7842, allocations: 274.8 kB / 0.7796 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009021/0.7851, allocations: 0.5792 MB / 0.7802 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.792e-05/0.7852, allocations: 45.31 kB / 0.7802 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.777e-05/0.7853, allocations: 59.84 kB / 0.7803 GB, free: 6.324 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001083/0.7864, allocations: 0.6401 MB / 0.7809 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.209e-05/0.7864, allocations: 0 / 0.7809 GB, free: 5.668 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.334e-05/0.7865, allocations: 23.94 kB / 0.7809 GB, free: 5.645 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.071e-05/0.7865, allocations: 17.31 kB / 0.781 GB, free: 5.625 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009266/0.7874, allocations: 0.5321 MB / 0.7815 GB, free: 5.09 MB / 0.6075 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.002994/0.7904, allocations: 2.453 MB / 0.7839 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006071/0.7911, allocations: 383.7 kB / 0.7842 GB, free: 2.043 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00037/0.7914, allocations: 241.4 kB / 0.7845 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000569/0.792, allocations: 315.6 kB / 0.7848 GB, free: 1.441 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/0.7921, allocations: 42.83 kB / 0.7848 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=39): time 2.194e-06/0.7921, allocations: 0 / 0.7848 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39): time 0.001363/0.7934, allocations: 0.6346 MB / 0.7854 GB, free: 0.75 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.7935, allocations: 59.41 kB / 0.7855 GB, free: 0.6797 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005487/0.794, allocations: 0.495 MB / 0.786 GB, free: 176 kB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.08e-05/0.7941, allocations: 33.7 kB / 0.786 GB, free: 136 kB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002478/0.7944, allocations: 324.5 kB / 0.7863 GB, free: 15.81 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001182/0.7945, allocations: 141.9 kB / 0.7864 GB, free: 15.67 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.023e-05/0.7945, allocations: 37.7 kB / 0.7865 GB, free: 15.63 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.7947, allocations: 366.8 kB / 0.7868 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003086/0.795, allocations: 176.8 kB / 0.787 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004027/0.7954, allocations: 296.1 kB / 0.7873 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007067/0.7961, allocations: 457 kB / 0.7877 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.7962, allocations: 0 / 0.7877 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008864/0.7971, allocations: 0.5405 MB / 0.7882 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001025/0.7972, allocations: 164.9 kB / 0.7884 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.7972, allocations: 0 / 0.7884 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.725e-05/0.7972, allocations: 8 kB / 0.7884 GB, free: 13.53 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007123/0.7979, allocations: 135.8 kB / 0.7885 GB, free: 13.4 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003529/0.7983, allocations: 0.5977 MB / 0.7891 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006195/0.7989, allocations: 79.58 kB / 0.7892 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.146e-05/0.799, allocations: 24 kB / 0.7892 GB, free: 12.68 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.909e-06/0.799, allocations: 9.812 kB / 0.7892 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000783/0.7998, allocations: 467.5 kB / 0.7897 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/0.7998, allocations: 4 kB / 0.7897 GB, free: 12.21 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.234e-06/0.7998, allocations: 7.984 kB / 0.7897 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004903/0.8003, allocations: 124.2 kB / 0.7898 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.8003, allocations: 7.984 kB / 0.7898 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006019/0.8009, allocations: 72.67 kB / 0.7899 GB, free: 12 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.373e-05/0.801, allocations: 20 kB / 0.7899 GB, free: 11.98 MB / 0.6231 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.0003705/0.8013, allocations: 310.4 kB / 0.7902 GB, free: 11.67 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.8014, allocations: 67.19 kB / 0.7903 GB, free: 11.6 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008803/0.8023, allocations: 488 kB / 0.7907 GB, free: 11.12 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/0.8024, allocations: 4 kB / 0.7907 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.8024, allocations: 3.938 kB / 0.7907 GB, free: 11.11 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007894/0.8032, allocations: 0.7147 MB / 0.7914 GB, free: 10.31 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001901/0.8051, allocations: 1.288 MB / 0.7927 GB, free: 8.938 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.689e-06/0.8051, allocations: 4 kB / 0.7927 GB, free: 8.934 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006206/0.8057, allocations: 140 kB / 0.7928 GB, free: 8.797 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.8057, allocations: 4 kB / 0.7928 GB, free: 8.793 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.144e-05/0.8058, allocations: 12 kB / 0.7928 GB, free: 8.781 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002865/0.8061, allocations: 0.5976 MB / 0.7934 GB, free: 8.16 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.8061, allocations: 0 / 0.7934 GB, free: 8.16 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.8073, allocations: 0.8419 MB / 0.7942 GB, free: 7.281 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002279/0.8075, allocations: 180.3 kB / 0.7944 GB, free: 7.086 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.582e-05/0.8076, allocations: 19.98 kB / 0.7944 GB, free: 7.066 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004693/0.8081, allocations: 47.91 kB / 0.7945 GB, free: 7.02 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/0.8082, allocations: 31.89 kB / 0.7945 GB, free: 6.988 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.968e-05/0.8083, allocations: 16 kB / 0.7945 GB, free: 6.973 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0004923/0.8088, allocations: 354.8 kB / 0.7949 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.51e-07/0.8088, allocations: 0 / 0.7949 GB, free: 6.629 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001005/0.8098, allocations: 363.1 kB / 0.7952 GB, free: 6.273 MB / 0.6231 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.0005218/0.8103, allocations: 201.3 kB / 0.7954 GB, free: 6.074 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001496/0.8118, allocations: 0.6798 MB / 0.7961 GB, free: 5.395 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.389e-06/0.8118, allocations: 1 kB / 0.7961 GB, free: 5.395 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0004102/0.8123, allocations: 228.6 kB / 0.7963 GB, free: 5.172 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001948/0.8142, allocations: 359.8 kB / 0.7966 GB, free: 4.824 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002449/0.8167, allocations: 1.718 MB / 0.7983 GB, free: 3.059 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006225/0.8173, allocations: 0.9535 MB / 0.7992 GB, free: 2.078 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007122/0.818, allocations: 205 kB / 0.7994 GB, free: 1.879 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.8182, allocations: 47.44 kB / 0.7995 GB, free: 1.832 MB / 0.6231 GB Notification: Performance of SimCode: time 5.81e-07/0.8182, allocations: 4 kB / 0.7995 GB, free: 1.828 MB / 0.6231 GB Notification: Performance of Templates: time 0.02181/0.84, allocations: 11.92 MB / 0.8111 GB, free: 6.113 MB / 0.6387 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)