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.001001/0.001001, allocations: 88.41 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.008328/0.008328, allocations: 171 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.422/1.422, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.002/1.002, allocations: 135.3 MB / 426.7 MB, free: 14.16 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003202/0.0003202, allocations: 17.42 kB / 0.5076 GB, free: 4.758 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.189/0.1893, allocations: 82.31 MB / 0.588 GB, free: 2.621 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.5423/0.7317, allocations: 193.1 MB / 0.7765 GB, free: 11.36 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01619/0.7479, allocations: 10.83 MB / 0.7871 GB, free: 0.4961 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001834/0.7498, allocations: 47.69 kB / 0.7872 GB, free: 460 kB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001616/0.7514, allocations: 445.4 kB / 0.7876 GB, free: 12 kB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00498/0.7564, allocations: 1.669 MB / 0.7892 GB, free: 14.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.003095/0.7595, allocations: 1.054 MB / 0.7903 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.004872/0.7644, allocations: 3.737 MB / 0.7939 GB, free: 9.547 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001788/0.7662, allocations: 0.9978 MB / 0.7949 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004527/0.7708, allocations: 1.421 MB / 0.7963 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001861/0.7726, allocations: 0.9277 MB / 0.7972 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003636/0.773, allocations: 52 kB / 0.7972 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003969/0.777, allocations: 1.894 MB / 0.7991 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007488/0.7778, allocations: 450.6 kB / 0.7995 GB, free: 3.797 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001329/0.7791, allocations: 0.6545 MB / 0.8001 GB, free: 3.133 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.00362/0.7827, allocations: 2.336 MB / 0.8024 GB, free: 0.7891 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.7828, allocations: 4 kB / 0.8024 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7828, allocations: 0 / 0.8024 GB, free: 0.7852 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.414e-05/0.7828, allocations: 3.938 kB / 0.8024 GB, free: 0.7812 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: 253 * Number of variables: 253 Notification: Performance of Generate backend data structure: time 0.002472/0.7853, allocations: 1.431 MB / 0.8038 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.7853, allocations: 12.03 kB / 0.8038 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001765/0.7871, allocations: 321.9 kB / 0.8041 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001444/0.7886, allocations: 0.8703 MB / 0.805 GB, free: 14.05 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.811e-05/0.7886, allocations: 82 kB / 0.8051 GB, free: 13.98 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001612/0.7888, allocations: 108 kB / 0.8052 GB, free: 13.87 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001831/0.7906, allocations: 1.171 MB / 0.8063 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.553e-05/0.7907, allocations: 3.938 kB / 0.8063 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.337e-05/0.7908, allocations: 47.98 kB / 0.8064 GB, free: 12.61 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.091e-05/0.7908, allocations: 37.98 kB / 0.8064 GB, free: 12.57 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001481/0.7923, allocations: 0.9368 MB / 0.8073 GB, free: 11.63 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.005669/0.798, allocations: 4.71 MB / 0.8119 GB, free: 6.535 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00123/0.7993, allocations: 0.7138 MB / 0.8126 GB, free: 5.812 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005931/0.7999, allocations: 391 kB / 0.813 GB, free: 5.43 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006924/0.8006, allocations: 328.8 kB / 0.8133 GB, free: 5.055 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/0.8006, allocations: 47.12 kB / 0.8134 GB, free: 5 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=68): time 4.158e-06/0.8006, allocations: 0 / 0.8134 GB, free: 5 MB / 0.6231 GB Notification: Performance of matching and sorting (n=68): time 0.002084/0.8027, allocations: 1.001 MB / 0.8143 GB, free: 3.996 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.584e-05/0.8028, allocations: 59.95 kB / 0.8144 GB, free: 3.926 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/0.8038, allocations: 0.7987 MB / 0.8152 GB, free: 3.102 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.311e-05/0.8039, allocations: 37.7 kB / 0.8152 GB, free: 3.059 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004038/0.8043, allocations: 0.5422 MB / 0.8157 GB, free: 2.508 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002277/0.8045, allocations: 240.5 kB / 0.816 GB, free: 2.27 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.8047, allocations: 73.67 kB / 0.816 GB, free: 2.191 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.8048, allocations: 334 kB / 0.8164 GB, free: 1.859 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004731/0.8053, allocations: 289.8 kB / 0.8166 GB, free: 1.574 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006244/0.8059, allocations: 0.4977 MB / 0.8171 GB, free: 1 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001081/0.807, allocations: 0.7913 MB / 0.8179 GB, free: 148 kB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.118e-05/0.807, allocations: 4 kB / 0.8179 GB, free: 144 kB / 0.6231 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001439/0.8085, allocations: 0.9058 MB / 0.8188 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001685/0.8086, allocations: 233.4 kB / 0.819 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.039e-05/0.8087, allocations: 4 kB / 0.819 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.39e-05/0.8087, allocations: 11.94 kB / 0.819 GB, free: 14.91 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009152/0.8096, allocations: 175.8 kB / 0.8192 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004033/0.81, allocations: 0.6016 MB / 0.8198 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009924/0.811, allocations: 131.1 kB / 0.8199 GB, free: 13.99 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.286e-05/0.8111, allocations: 36.09 kB / 0.8199 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.8111, allocations: 7.938 kB / 0.8199 GB, free: 13.95 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001224/0.8124, allocations: 0.7919 MB / 0.8207 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.8124, allocations: 7.938 kB / 0.8207 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.09e-05/0.8124, allocations: 8 kB / 0.8207 GB, free: 13.14 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006074/0.813, allocations: 176.3 kB / 0.8209 GB, free: 12.96 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.813, allocations: 16 kB / 0.8209 GB, free: 12.95 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009184/0.814, allocations: 114.1 kB / 0.821 GB, free: 12.84 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-05/0.814, allocations: 31.98 kB / 0.821 GB, free: 12.81 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.0006658/0.8147, allocations: 404.8 kB / 0.8214 GB, free: 12.4 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001538/0.8149, allocations: 98.78 kB / 0.8215 GB, free: 12.3 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001372/0.8162, allocations: 0.7975 MB / 0.8223 GB, free: 11.5 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.425e-06/0.8163, allocations: 8 kB / 0.8223 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.8163, allocations: 0 / 0.8223 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001102/0.8174, allocations: 0.8749 MB / 0.8232 GB, free: 10.55 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003629/0.821, allocations: 2.151 MB / 0.8253 GB, free: 8.297 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.468e-06/0.821, allocations: 0 / 0.8253 GB, free: 8.297 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007343/0.8218, allocations: 155.8 kB / 0.8254 GB, free: 8.145 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.038e-05/0.8218, allocations: 4.281 kB / 0.8254 GB, free: 8.141 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.854e-05/0.8218, allocations: 24 kB / 0.8254 GB, free: 8.117 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00033/0.8222, allocations: 0.5976 MB / 0.826 GB, free: 7.496 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.8222, allocations: 1.328 kB / 0.826 GB, free: 7.496 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001819/0.824, allocations: 1.311 MB / 0.8273 GB, free: 6.137 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004342/0.8245, allocations: 259.8 kB / 0.8276 GB, free: 5.863 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001109/0.8246, allocations: 23.94 kB / 0.8276 GB, free: 5.84 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006569/0.8253, allocations: 71.78 kB / 0.8276 GB, free: 5.77 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.206e-05/0.8253, allocations: 40.45 kB / 0.8277 GB, free: 5.73 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.527e-05/0.8254, allocations: 27.98 kB / 0.8277 GB, free: 5.703 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007281/0.8261, allocations: 0.546 MB / 0.8282 GB, free: 5.145 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8261, allocations: 4 kB / 0.8282 GB, free: 5.141 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001422/0.8276, allocations: 0.557 MB / 0.8288 GB, free: 4.582 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.0005938/0.8282, allocations: 242.9 kB / 0.829 GB, free: 4.355 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002179/0.8304, allocations: 1.154 MB / 0.8302 GB, free: 3.207 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.422e-06/0.8304, allocations: 4.312 kB / 0.8302 GB, free: 3.203 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0005804/0.831, allocations: 374.9 kB / 0.8305 GB, free: 2.832 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002735/0.8337, allocations: 476 kB / 0.831 GB, free: 2.375 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004321/0.8381, allocations: 2.835 MB / 0.8337 GB, free: 15.49 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008954/0.839, allocations: 1.173 MB / 0.8349 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001277/0.8403, allocations: 355.9 kB / 0.8352 GB, free: 13.94 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002645/0.8405, allocations: 79.42 kB / 0.8353 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of SimCode: time 9.92e-07/0.8405, allocations: 0 / 0.8353 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of Templates: time 0.03193/0.8725, allocations: 16.84 MB / 0.8517 GB, free: 13.29 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)