Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") translateModel(BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8499/0.8499, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 186.5 kB / 187.3 MB, free: 11.89 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.545/1.545, allocations: 221.3 MB / 441.4 MB, free: 4.613 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.0009007/0.0009008, allocations: 97.47 kB / 0.5124 GB, free: 24.23 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002302/0.002302, allocations: 266.3 kB / 0.5939 GB, free: 7.98 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.82e-05/3.824e-05, allocations: 4 kB / 0.6834 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.532/0.532, allocations: 82.77 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.872/5.404, allocations: 1.938 GB / 2.702 GB, free: 70.68 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004301/5.405, allocations: 94.75 kB / 2.702 GB, free: 70.64 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.552/7.957, allocations: 0.6365 GB / 3.339 GB, free: 121.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.302e-06/7.957, allocations: 0 / 3.339 GB, free: 121.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.734e-05/7.957, allocations: 32.94 kB / 3.339 GB, free: 121.3 MB / 0.698 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.003123/7.96, allocations: 1.473 MB / 3.341 GB, free: 120.8 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/7.96, allocations: 7.688 kB / 3.341 GB, free: 120.8 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00181/7.962, allocations: 322.8 kB / 3.341 GB, free: 120.7 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002816/7.965, allocations: 1.183 MB / 3.342 GB, free: 120.5 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.308e-05/7.965, allocations: 79.09 kB / 3.342 GB, free: 120.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/7.965, allocations: 109.5 kB / 3.342 GB, free: 120.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001705/7.967, allocations: 1.121 MB / 3.343 GB, free: 120.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.801e-05/7.967, allocations: 3.656 kB / 3.343 GB, free: 120.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.188e-05/7.967, allocations: 45.81 kB / 3.343 GB, free: 120.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.264e-05/7.967, allocations: 32.34 kB / 3.343 GB, free: 120.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001234/7.968, allocations: 0.8809 MB / 3.344 GB, free: 120.3 MB / 0.698 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.00484/7.973, allocations: 4.712 MB / 3.349 GB, free: 117.7 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008387/7.974, allocations: 0.6528 MB / 3.349 GB, free: 117.7 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004206/7.974, allocations: 355.4 kB / 3.35 GB, free: 117.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004682/7.975, allocations: 315.9 kB / 3.35 GB, free: 117.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/7.975, allocations: 41.91 kB / 3.35 GB, free: 117.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=68): time 3.757e-06/7.975, allocations: 0 / 3.35 GB, free: 117.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=68): time 0.001315/7.976, allocations: 0.6944 MB / 3.351 GB, free: 117.2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/7.976, allocations: 113.5 kB / 3.351 GB, free: 117.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007554/7.977, allocations: 0.6763 MB / 3.352 GB, free: 117 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.504e-05/7.977, allocations: 40.36 kB / 3.352 GB, free: 117 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003186/7.978, allocations: 0.539 MB / 3.352 GB, free: 116.8 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001711/7.978, allocations: 245.2 kB / 3.352 GB, free: 116.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/7.978, allocations: 15.16 kB / 3.352 GB, free: 116.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.037e-05/7.978, allocations: 334.5 kB / 3.353 GB, free: 116.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003461/7.978, allocations: 258.7 kB / 3.353 GB, free: 116.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005155/7.979, allocations: 0.5077 MB / 3.353 GB, free: 116.1 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004459/7.979, allocations: 353.5 kB / 3.354 GB, free: 116.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/7.979, allocations: 0 / 3.354 GB, free: 116.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001086/7.98, allocations: 0.8538 MB / 3.355 GB, free: 116 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003115/7.981, allocations: 1.758 MB / 3.356 GB, free: 114.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.021e-05/7.981, allocations: 3.906 kB / 3.356 GB, free: 114.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.227e-05/7.981, allocations: 7.875 kB / 3.356 GB, free: 114.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008138/7.981, allocations: 176.7 kB / 3.356 GB, free: 114.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002943/7.982, allocations: 0.6069 MB / 3.357 GB, free: 113.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001013/7.983, allocations: 136 kB / 3.357 GB, free: 113.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.328e-05/7.983, allocations: 39.75 kB / 3.357 GB, free: 113.5 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 8.316e-06/7.983, allocations: 3.875 kB / 3.357 GB, free: 113.5 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001032/7.984, allocations: 0.7385 MB / 3.358 GB, free: 113.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/7.984, allocations: 3.531 kB / 3.358 GB, free: 113.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.273e-05/7.984, allocations: 10.28 kB / 3.358 GB, free: 113.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006145/7.985, allocations: 170.5 kB / 3.358 GB, free: 113.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.757e-05/7.985, allocations: 12.78 kB / 3.358 GB, free: 113.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008743/7.985, allocations: 127.9 kB / 3.358 GB, free: 113.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.11e-05/7.986, allocations: 32.14 kB / 3.358 GB, free: 113.5 MB / 0.698 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.0001856/7.986, allocations: 157.4 kB / 3.358 GB, free: 113.4 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001363/7.986, allocations: 102.5 kB / 3.359 GB, free: 113.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00126/7.987, allocations: 0.7393 MB / 3.359 GB, free: 113.3 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.208e-05/7.987, allocations: 12.77 kB / 3.359 GB, free: 113.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/7.987, allocations: 0 / 3.359 GB, free: 113.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001207/7.988, allocations: 0.8252 MB / 3.36 GB, free: 112.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003328/7.992, allocations: 2.053 MB / 3.362 GB, free: 112.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.027e-06/7.992, allocations: 5.969 kB / 3.362 GB, free: 112.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009412/7.993, allocations: 158 kB / 3.362 GB, free: 112.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.587e-05/7.993, allocations: 8.031 kB / 3.362 GB, free: 112.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.892e-05/7.993, allocations: 19.03 kB / 3.362 GB, free: 112.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002903/7.993, allocations: 0.5989 MB / 3.363 GB, free: 111.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/7.993, allocations: 3.938 kB / 3.363 GB, free: 111.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001705/7.995, allocations: 1.338 MB / 3.364 GB, free: 111.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004675/7.995, allocations: 258.9 kB / 3.364 GB, free: 111.3 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001161/7.995, allocations: 17.47 kB / 3.364 GB, free: 111.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006623/7.996, allocations: 76.73 kB / 3.365 GB, free: 111.3 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.992e-05/7.996, allocations: 54.67 kB / 3.365 GB, free: 111.3 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.591e-05/7.996, allocations: 22.38 kB / 3.365 GB, free: 111.3 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0007352/7.997, allocations: 0.5298 MB / 3.365 GB, free: 111.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/7.997, allocations: 0 / 3.365 GB, free: 111.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002441/7.999, allocations: 0.7465 MB / 3.366 GB, free: 111.1 MB / 0.698 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.003059/8.003, allocations: 1.871 MB / 3.368 GB, free: 110.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00201/8.005, allocations: 1.101 MB / 3.369 GB, free: 110.5 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/8.005, allocations: 0 / 3.369 GB, free: 110.5 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004862/8.005, allocations: 344 kB / 3.369 GB, free: 110.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00229/8.007, allocations: 478.4 kB / 3.37 GB, free: 110.5 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003119/8.011, allocations: 1.778 MB / 3.371 GB, free: 110 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000614/8.011, allocations: 1.194 MB / 3.372 GB, free: 109.3 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001422/8.013, allocations: 435.2 kB / 3.373 GB, free: 109.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000189/8.013, allocations: 71.5 kB / 3.373 GB, free: 109.3 MB / 0.698 GB Notification: Performance of SimCode: time 8.41e-07/8.013, allocations: 0 / 3.373 GB, free: 109.3 MB / 0.698 GB Notification: Performance of Templates: time 0.05944/8.072, allocations: 44.44 MB / 3.416 GB, free: 107.5 MB / 0.698 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)