Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7113/0.7113, allocations: 127.4 MB / 134.6 MB, free: 4.07 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001719/0.001719, allocations: 173.3 kB / 164.4 MB, free: 6.883 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.544/1.544, allocations: 205.1 MB / 399.1 MB, free: 6.086 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001041/0.001041, allocations: 77.72 kB / 476.3 MB, free: 8.852 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 1.011e-05/1.015e-05, allocations: 0 / 0.546 GB, free: 42.75 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1679/0.1679, allocations: 76.75 MB / 0.6209 GB, free: 13.93 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.049/5.217, allocations: 2.165 GB / 2.786 GB, free: 40.05 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003054/5.217, allocations: 101 kB / 2.786 GB, free: 39.95 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.497/7.714, allocations: 0.631 GB / 3.417 GB, free: 98.66 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002699/7.714, allocations: 36.81 kB / 3.417 GB, free: 98.65 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 286 * Number of variables: 286 Notification: Performance of Generate backend data structure: time 0.005872/7.72, allocations: 1.596 MB / 3.419 GB, free: 97.92 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.83e-05/7.72, allocations: 10.95 kB / 3.419 GB, free: 97.92 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003049/7.723, allocations: 341.8 kB / 3.419 GB, free: 97.84 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003604/7.727, allocations: 0.9987 MB / 3.42 GB, free: 97.52 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.035e-05/7.727, allocations: 40.91 kB / 3.42 GB, free: 97.52 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004679/7.727, allocations: 73.91 kB / 3.42 GB, free: 97.52 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00312/7.73, allocations: 0.9994 MB / 3.421 GB, free: 97.51 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002948/7.733, allocations: 1.139 MB / 3.422 GB, free: 97.36 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.226e-05/7.734, allocations: 2.156 kB / 3.422 GB, free: 97.36 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001669/7.734, allocations: 2.875 kB / 3.422 GB, free: 97.36 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.086e-05/7.734, allocations: 44.53 kB / 3.422 GB, free: 97.35 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008522/7.742, allocations: 5.337 MB / 3.428 GB, free: 94.59 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001027/7.743, allocations: 0.6839 MB / 3.428 GB, free: 94.57 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004692/7.744, allocations: 358.3 kB / 3.429 GB, free: 94.56 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004958/7.744, allocations: 314.5 kB / 3.429 GB, free: 94.27 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.354e-05/7.744, allocations: 46.45 kB / 3.429 GB, free: 94.23 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=71): time 2.906e-06/7.744, allocations: 0 / 3.429 GB, free: 94.23 MB / 0.6511 GB Notification: Performance of matching and sorting (n=71): time 0.002205/7.747, allocations: 0.8315 MB / 3.43 GB, free: 94.14 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/7.747, allocations: 111 kB / 3.43 GB, free: 94.01 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007815/7.747, allocations: 0.6275 MB / 3.431 GB, free: 93.88 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.259e-05/7.748, allocations: 28.14 kB / 3.431 GB, free: 93.84 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002739/7.748, allocations: 474.5 kB / 3.431 GB, free: 93.55 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002085/7.748, allocations: 247.4 kB / 3.431 GB, free: 93.39 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.985e-05/7.748, allocations: 3.656 kB / 3.431 GB, free: 93.39 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.332e-05/7.748, allocations: 341.7 kB / 3.432 GB, free: 93.09 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004332/7.749, allocations: 294.9 kB / 3.432 GB, free: 93.08 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006036/7.749, allocations: 0.5383 MB / 3.432 GB, free: 92.8 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009034/7.75, allocations: 0.4908 MB / 3.433 GB, free: 92.79 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/7.75, allocations: 0 / 3.433 GB, free: 92.79 MB / 0.6511 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.001751/7.752, allocations: 1.029 MB / 3.434 GB, free: 92.69 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005295/7.752, allocations: 2.179 MB / 3.436 GB, free: 90.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/7.752, allocations: 14.3 kB / 3.436 GB, free: 90.43 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.65e-05/7.753, allocations: 11.44 kB / 3.436 GB, free: 90.43 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001584/7.754, allocations: 283.4 kB / 3.436 GB, free: 90.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008719/7.755, allocations: 0.6796 MB / 3.437 GB, free: 89.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/7.756, allocations: 140.9 kB / 3.437 GB, free: 89.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.938e-05/7.756, allocations: 38.48 kB / 3.437 GB, free: 89.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 7.304e-06/7.756, allocations: 3.938 kB / 3.437 GB, free: 89.8 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001476/7.758, allocations: 0.8804 MB / 3.438 GB, free: 89.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/7.758, allocations: 3.656 kB / 3.438 GB, free: 89.76 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/7.758, allocations: 10.78 kB / 3.438 GB, free: 89.76 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006957/7.759, allocations: 184.2 kB / 3.438 GB, free: 89.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.181e-05/7.759, allocations: 15.41 kB / 3.438 GB, free: 89.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009069/7.759, allocations: 112.1 kB / 3.438 GB, free: 89.71 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.111e-05/7.76, allocations: 39.52 kB / 3.438 GB, free: 89.71 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * 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 (110): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 1 * 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.0002591/7.76, allocations: 127.5 kB / 3.439 GB, free: 89.59 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002153/7.76, allocations: 102.5 kB / 3.439 GB, free: 89.54 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001771/7.762, allocations: 0.8497 MB / 3.439 GB, free: 89.46 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.542e-05/7.762, allocations: 17.11 kB / 3.439 GB, free: 89.46 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/7.762, allocations: 0 / 3.439 GB, free: 89.46 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001286/7.763, allocations: 0.9185 MB / 3.44 GB, free: 89.11 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00364/7.767, allocations: 1.909 MB / 3.442 GB, free: 88.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/7.767, allocations: 3.312 kB / 3.442 GB, free: 88.76 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001547/7.768, allocations: 265.4 kB / 3.442 GB, free: 88.75 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.706e-05/7.768, allocations: 10.81 kB / 3.442 GB, free: 88.75 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.368e-05/7.768, allocations: 6.906 kB / 3.442 GB, free: 88.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002229/7.771, allocations: 1.404 MB / 3.444 GB, free: 87.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/7.771, allocations: 3.938 kB / 3.444 GB, free: 87.49 MB / 0.6511 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00208/7.773, allocations: 1.366 MB / 3.445 GB, free: 87.16 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005678/7.773, allocations: 274.1 kB / 3.445 GB, free: 87 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001434/7.774, allocations: 3.25 kB / 3.445 GB, free: 87 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008442/7.774, allocations: 72.69 kB / 3.446 GB, free: 87 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.055e-05/7.774, allocations: 41.8 kB / 3.446 GB, free: 87 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.734e-05/7.775, allocations: 29.98 kB / 3.446 GB, free: 87 MB / 0.6511 GB Notification: Performance of sort global known variables: time 0.0005929/7.775, allocations: 482 kB / 3.446 GB, free: 86.91 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002444/7.778, allocations: 0.7543 MB / 3.447 GB, free: 86.79 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (limPID.I.y,vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1],senVolFlo.d,senTraSubPeo.C,senTraSubFre.C) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 69 * 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.003382/7.781, allocations: 2.121 MB / 3.449 GB, free: 86.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.004396/7.785, allocations: 1.359 MB / 3.45 GB, free: 86.08 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/7.785, allocations: 1.156 kB / 3.45 GB, free: 86.08 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001895/7.787, allocations: 479.8 kB / 3.451 GB, free: 86.06 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002959/7.79, allocations: 435.1 kB / 3.451 GB, free: 86.04 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005196/7.796, allocations: 1.881 MB / 3.453 GB, free: 85.55 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001258/7.797, allocations: 1.324 MB / 3.454 GB, free: 84.84 MB / 0.6511 GB Notification: Performance of SimCode: time 1.643e-06/7.797, allocations: 0 / 3.454 GB, free: 84.84 MB / 0.6511 GB Notification: Performance of Templates: time 0.0703/7.867, allocations: 32.02 MB / 3.485 GB, free: 75.4 MB / 0.6511 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)