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/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: "" <> buildModelFMU(IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002108/0.002108, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9285/0.9285, allocations: 133.6 MB / 141.6 MB, free: 2.898 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 221.5 MB / 395.4 MB, free: 10.8 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008568/0.0008566, allocations: 102.1 kB / 478.2 MB, free: 1.332 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.201e-05/2.204e-05, allocations: 4 kB / 0.5536 GB, free: 8.973 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4944/0.4944, allocations: 82.31 MB / 0.6339 GB, free: 40.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.267/5.762, allocations: 1.94 GB / 2.574 GB, free: 57.8 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002845/5.762, allocations: 102.2 kB / 2.574 GB, free: 57.74 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.783/8.545, allocations: 0.6296 GB / 3.204 GB, free: 121.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.064e-06/8.545, allocations: 0 / 3.204 GB, free: 121.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001031/8.545, allocations: 32.16 kB / 3.204 GB, free: 121.5 MB / 0.6823 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.003064/8.548, allocations: 1.473 MB / 3.205 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/8.549, allocations: 11.06 kB / 3.205 GB, free: 120.9 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001734/8.55, allocations: 325.6 kB / 3.206 GB, free: 120.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002631/8.553, allocations: 1.187 MB / 3.207 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.26e-05/8.553, allocations: 35.69 kB / 3.207 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/8.553, allocations: 61.94 kB / 3.207 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00128/8.554, allocations: 0.8161 MB / 3.208 GB, free: 120.6 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001451/8.556, allocations: 0.9893 MB / 3.209 GB, free: 120.4 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/8.556, allocations: 0 / 3.209 GB, free: 120.4 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.641e-05/8.556, allocations: 3.906 kB / 3.209 GB, free: 120.4 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.749e-05/8.556, allocations: 38.53 kB / 3.209 GB, free: 120.4 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.004425/8.56, allocations: 4.507 MB / 3.213 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007631/8.561, allocations: 0.6155 MB / 3.214 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000375/8.562, allocations: 326.9 kB / 3.214 GB, free: 117.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004996/8.562, allocations: 322.9 kB / 3.214 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/8.562, allocations: 38 kB / 3.214 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=68): time 2.926e-06/8.562, allocations: 3.5 kB / 3.214 GB, free: 117.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=68): time 0.001535/8.564, allocations: 0.7315 MB / 3.215 GB, free: 117.4 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.545e-05/8.564, allocations: 111.1 kB / 3.215 GB, free: 117.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006196/8.564, allocations: 0.5623 MB / 3.216 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.285e-05/8.564, allocations: 32.27 kB / 3.216 GB, free: 117.1 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003034/8.565, allocations: 0.5339 MB / 3.216 GB, free: 116.9 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000168/8.565, allocations: 232.8 kB / 3.216 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.261e-05/8.565, allocations: 0 / 3.216 GB, free: 116.8 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.327e-05/8.565, allocations: 340.3 kB / 3.217 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003233/8.565, allocations: 243.8 kB / 3.217 GB, free: 116.5 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004552/8.566, allocations: 487 kB / 3.217 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006851/8.567, allocations: 415.4 kB / 3.218 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.128e-06/8.567, allocations: 2.906 kB / 3.218 GB, free: 116.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001298/8.568, allocations: 0.8662 MB / 3.219 GB, free: 116.1 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003461/8.568, allocations: 1.75 MB / 3.22 GB, free: 114.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.138e-05/8.568, allocations: 6.5 kB / 3.22 GB, free: 114.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/8.568, allocations: 10.16 kB / 3.22 GB, free: 114.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000842/8.569, allocations: 181 kB / 3.221 GB, free: 114.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002824/8.569, allocations: 0.6023 MB / 3.221 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009821/8.57, allocations: 119.4 kB / 3.221 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.047e-05/8.57, allocations: 34.91 kB / 3.221 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.348e-06/8.571, allocations: 6.5 kB / 3.221 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001164/8.572, allocations: 0.7302 MB / 3.222 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/8.572, allocations: 6.125 kB / 3.222 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/8.572, allocations: 13.78 kB / 3.222 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000598/8.572, allocations: 167.7 kB / 3.222 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/8.572, allocations: 13.94 kB / 3.222 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008534/8.573, allocations: 97.55 kB / 3.222 GB, free: 113.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.528e-05/8.573, allocations: 32.91 kB / 3.222 GB, free: 113.7 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 1 (limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001808/8.573, allocations: 129.3 kB / 3.223 GB, free: 113.6 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001099/8.575, allocations: 0.7029 MB / 3.223 GB, free: 113.5 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001129/8.575, allocations: 98.75 kB / 3.223 GB, free: 113.4 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/8.576, allocations: 0.7596 MB / 3.224 GB, free: 113.4 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.011e-06/8.576, allocations: 7.375 kB / 3.224 GB, free: 113.4 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/8.576, allocations: 3.797 kB / 3.224 GB, free: 113.4 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009652/8.577, allocations: 0.8673 MB / 3.225 GB, free: 113 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002976/8.58, allocations: 1.96 MB / 3.227 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.089e-06/8.58, allocations: 3.844 kB / 3.227 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007208/8.581, allocations: 160.6 kB / 3.227 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.936e-06/8.581, allocations: 5.859 kB / 3.227 GB, free: 112.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.485e-05/8.581, allocations: 18.75 kB / 3.227 GB, free: 112.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001986/8.581, allocations: 0.5995 MB / 3.228 GB, free: 112 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.677e-06/8.581, allocations: 0 / 3.228 GB, free: 112 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001547/8.583, allocations: 1.358 MB / 3.229 GB, free: 111.5 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000378/8.583, allocations: 244.7 kB / 3.229 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001129/8.583, allocations: 7.766 kB / 3.229 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006483/8.584, allocations: 68.44 kB / 3.229 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.471e-05/8.584, allocations: 50.55 kB / 3.229 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.342e-05/8.584, allocations: 29.69 kB / 3.229 GB, free: 111.4 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0004509/8.584, allocations: 437.4 kB / 3.23 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.4e-07/8.584, allocations: 0 / 3.23 GB, free: 111.3 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001779/8.586, allocations: 0.6666 MB / 3.23 GB, free: 111.2 MB / 0.6823 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 () * 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 (linear and non-linear blocks): 1 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005491/8.592, allocations: 4.503 MB / 3.235 GB, free: 109.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002292/8.594, allocations: 1.043 MB / 3.236 GB, free: 109.2 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.378e-06/8.594, allocations: 2.281 kB / 3.236 GB, free: 109.2 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0005345/8.595, allocations: 320.3 kB / 3.236 GB, free: 109.2 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002693/8.597, allocations: 432 kB / 3.236 GB, free: 109.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003925/8.601, allocations: 2 MB / 3.238 GB, free: 108.6 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005781/8.602, allocations: 1.198 MB / 3.24 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001398/8.603, allocations: 390.5 kB / 3.24 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005007/8.604, allocations: 414.8 kB / 3.24 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of SimCode: time 1.092e-06/8.604, allocations: 0 / 3.24 GB, free: 107.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07579/8.68, allocations: 38.77 MB / 3.278 GB, free: 106.1 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001619/8.68, allocations: 176.8 kB / 3.278 GB, free: 105.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.646/12.33, allocations: 5.562 kB / 3.278 GB, free: 105.9 MB / 0.6823 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Conversions_Examples_To_VolumeFraction_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-08 IDEAS_dev_IDEAS_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)