Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.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.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") translateModel(IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001355/0.001355, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001282/0.001282, allocations: 192.6 kB / 16.25 MB, free: 6.637 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.362/1.362, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9346/0.9346, allocations: 135.6 MB / 425.6 MB, free: 11.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001901/0.001901, allocations: 67.11 kB / 0.5054 GB, free: 5.207 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1631/0.165, allocations: 81.02 MB / 0.5845 GB, free: 4.324 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.4458/0.6109, allocations: 195.4 MB / 0.7753 GB, free: 9.023 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01535/0.6263, allocations: 10.82 MB / 0.7859 GB, free: 14.17 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001622/0.6279, allocations: 39.75 kB / 0.7859 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001659/0.6297, allocations: 457.4 kB / 0.7864 GB, free: 13.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00501/0.6347, allocations: 1.682 MB / 0.788 GB, free: 12 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003449/0.6381, allocations: 1.062 MB / 0.7891 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004536/0.6427, allocations: 2.776 MB / 0.7918 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002176/0.6449, allocations: 1.17 MB / 0.7929 GB, free: 6.977 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005546/0.6505, allocations: 1.6 MB / 0.7945 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002298/0.6528, allocations: 1.009 MB / 0.7955 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003361/0.6531, allocations: 124 kB / 0.7956 GB, free: 4.254 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003782/0.6569, allocations: 1.773 MB / 0.7973 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006843/0.6576, allocations: 0.5259 MB / 0.7978 GB, free: 1.949 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001071/0.6587, allocations: 0.7153 MB / 0.7985 GB, free: 1.23 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004555/0.6633, allocations: 2.43 MB / 0.8009 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.6633, allocations: 0 / 0.8009 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.804e-06/0.6633, allocations: 3.938 kB / 0.8009 GB, free: 14.79 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.556e-05/0.6634, allocations: 4 kB / 0.8009 GB, free: 14.79 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: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.002984/0.6663, allocations: 1.692 MB / 0.8025 GB, free: 13.04 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.154e-05/0.6664, allocations: 8.031 kB / 0.8026 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001817/0.6682, allocations: 326.1 kB / 0.8029 GB, free: 12.71 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001577/0.6698, allocations: 0.8703 MB / 0.8037 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.006e-05/0.6699, allocations: 78 kB / 0.8038 GB, free: 11.72 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001679/0.6701, allocations: 111.9 kB / 0.8039 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001951/0.672, allocations: 1.171 MB / 0.805 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.677e-05/0.6721, allocations: 0 / 0.805 GB, free: 10.4 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.641e-05/0.6722, allocations: 47.98 kB / 0.8051 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.594e-05/0.6722, allocations: 37.98 kB / 0.8051 GB, free: 10.32 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00157/0.6738, allocations: 0.9407 MB / 0.806 GB, free: 9.379 MB / 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.006015/0.6798, allocations: 4.702 MB / 0.8106 GB, free: 4.293 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001188/0.681, allocations: 0.7137 MB / 0.8113 GB, free: 3.566 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005863/0.6816, allocations: 391 kB / 0.8117 GB, free: 3.184 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006693/0.6823, allocations: 316.8 kB / 0.812 GB, free: 2.82 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.106e-05/0.6824, allocations: 43.12 kB / 0.812 GB, free: 2.77 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=68): time 3.296e-06/0.6824, allocations: 0 / 0.812 GB, free: 2.77 MB / 0.6231 GB Notification: Performance of matching and sorting (n=68): time 0.001989/0.6844, allocations: 1.001 MB / 0.813 GB, free: 1.766 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.004e-05/0.6844, allocations: 63.95 kB / 0.8131 GB, free: 1.691 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.6855, allocations: 0.7948 MB / 0.8139 GB, free: 0.8711 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.834e-05/0.6855, allocations: 41.7 kB / 0.8139 GB, free: 0.8242 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004562/0.686, allocations: 0.5344 MB / 0.8144 GB, free: 288 kB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002434/0.6863, allocations: 244.5 kB / 0.8147 GB, free: 40 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002615/0.6865, allocations: 150.7 kB / 0.8148 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001646/0.6867, allocations: 338 kB / 0.8151 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004923/0.6872, allocations: 292.7 kB / 0.8154 GB, free: 15.26 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000717/0.6879, allocations: 0.5093 MB / 0.8159 GB, free: 14.67 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001191/0.6891, allocations: 0.7913 MB / 0.8167 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.358e-06/0.6892, allocations: 0 / 0.8167 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001568/0.6907, allocations: 0.9057 MB / 0.8176 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.6908, allocations: 8.625 kB / 0.8176 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/0.6908, allocations: 8 kB / 0.8176 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.6908, allocations: 8 kB / 0.8176 GB, free: 12.88 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008899/0.6917, allocations: 184.3 kB / 0.8178 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004776/0.6922, allocations: 0.5993 MB / 0.8183 GB, free: 12.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009658/0.6932, allocations: 133.2 kB / 0.8185 GB, free: 11.95 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.845e-05/0.6932, allocations: 31.94 kB / 0.8185 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001038/0.6943, allocations: 0.5449 MB / 0.819 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007506/0.6951, allocations: 0.5027 MB / 0.8195 GB, free: 10.79 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001231/0.6963, allocations: 0.7873 MB / 0.8203 GB, free: 9.93 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.515e-06/0.6963, allocations: 0 / 0.8203 GB, free: 9.93 MB / 0.6387 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001553/0.6979, allocations: 0.9097 MB / 0.8212 GB, free: 9.012 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.6979, allocations: 4 kB / 0.8212 GB, free: 9.008 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/0.6979, allocations: 11.94 kB / 0.8212 GB, free: 8.996 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.6979, allocations: 8.625 kB / 0.8212 GB, free: 8.988 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006182/0.6985, allocations: 167.7 kB / 0.8214 GB, free: 8.824 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.084e-05/0.6986, allocations: 8 kB / 0.8214 GB, free: 8.816 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008775/0.6994, allocations: 107.4 kB / 0.8215 GB, free: 8.711 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.539e-05/0.6995, allocations: 39.98 kB / 0.8215 GB, free: 8.672 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 1 (limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (96): * Single equations (assignments): 95 * 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.0003049/0.6998, allocations: 238.6 kB / 0.8217 GB, free: 8.434 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001691/0.7, allocations: 102.7 kB / 0.8218 GB, free: 8.332 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001472/0.7015, allocations: 0.7878 MB / 0.8226 GB, free: 7.543 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.765e-06/0.7015, allocations: 8 kB / 0.8226 GB, free: 7.535 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.7015, allocations: 0 / 0.8226 GB, free: 7.535 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001165/0.7027, allocations: 0.8749 MB / 0.8235 GB, free: 6.59 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003785/0.7065, allocations: 2.139 MB / 0.8256 GB, free: 4.344 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-06/0.7065, allocations: 0 / 0.8256 GB, free: 4.344 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007468/0.7073, allocations: 157.8 kB / 0.8257 GB, free: 4.195 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.184e-05/0.7073, allocations: 4 kB / 0.8257 GB, free: 4.191 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.8e-05/0.7073, allocations: 23.98 kB / 0.8257 GB, free: 4.168 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004203/0.7078, allocations: 0.6017 MB / 0.8263 GB, free: 3.543 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.7078, allocations: 4 kB / 0.8263 GB, free: 3.539 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002009/0.7098, allocations: 1.303 MB / 0.8276 GB, free: 2.191 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005223/0.7103, allocations: 259.6 kB / 0.8278 GB, free: 1.918 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.7104, allocations: 19.98 kB / 0.8279 GB, free: 1.898 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000625/0.7111, allocations: 71.8 kB / 0.8279 GB, free: 1.828 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.821e-05/0.7112, allocations: 44.44 kB / 0.828 GB, free: 1.785 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.098e-05/0.7112, allocations: 27.98 kB / 0.828 GB, free: 1.758 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0008762/0.7121, allocations: 0.5421 MB / 0.8285 GB, free: 1.203 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.61e-07/0.7121, allocations: 3.938 kB / 0.8285 GB, free: 1.199 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001729/0.7139, allocations: 0.5647 MB / 0.8291 GB, free: 0.6328 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (limPID.I.y,vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1],senTraSubPeo.C,senTraSubFre.C) * 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 (68): * Single equations (assignments): 67 * 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.0006206/0.7145, allocations: 240.2 kB / 0.8293 GB, free: 420 kB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002742/0.7172, allocations: 1.292 MB / 0.8306 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.433e-06/0.7173, allocations: 0 / 0.8306 GB, free: 15.12 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0006114/0.7179, allocations: 363.7 kB / 0.8309 GB, free: 14.77 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002172/0.7201, allocations: 0.4894 MB / 0.8314 GB, free: 14.3 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004466/0.7245, allocations: 2.728 MB / 0.8341 GB, free: 11.53 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009379/0.7255, allocations: 1.173 MB / 0.8352 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001284/0.7268, allocations: 351.8 kB / 0.8355 GB, free: 9.98 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002333/0.727, allocations: 83.42 kB / 0.8356 GB, free: 9.898 MB / 0.6544 GB Notification: Performance of SimCode: time 5.61e-07/0.727, allocations: 0 / 0.8356 GB, free: 9.898 MB / 0.6544 GB Notification: Performance of Templates: time 0.03295/0.76, allocations: 17.42 MB / 0.8526 GB, free: 8.766 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)