Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") translateModel(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,tolerance=1e-08,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.321/1.321, allocations: 251.5 MB / 267.4 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001004/0.001004, allocations: 182.5 kB / 326.5 MB, free: 2.684 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.675/1.675, allocations: 205 MB / 0.5766 GB, free: 20.93 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007586/0.0007588, allocations: 95.72 kB / 0.6804 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003037/0.0003037, allocations: 11.34 kB / 0.7938 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2135/0.2139, allocations: 105.4 MB / 0.8967 GB, free: 68.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.6963/0.9102, allocations: 195.6 MB / 1.088 GB, free: 1.562 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.01634/0.9266, allocations: 11.03 MB / 1.099 GB, free: 1.336 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002349/0.929, allocations: 42.56 kB / 1.099 GB, free: 1.332 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001921/0.9309, allocations: 449.1 kB / 1.099 GB, free: 1.324 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.005947/0.9369, allocations: 1.687 MB / 1.101 GB, free: 1.238 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004137/0.941, allocations: 1.06 MB / 1.102 GB, free: 1.207 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005709/0.9468, allocations: 3.806 MB / 1.105 GB, free: 1.203 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002118/0.9489, allocations: 1.002 MB / 1.106 GB, free: 1.031 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004345/0.9533, allocations: 1.397 MB / 1.108 GB, free: 1.008 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002936/0.9562, allocations: 0.9466 MB / 1.109 GB, free: 1.004 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0005218/0.9568, allocations: 53.62 kB / 1.109 GB, free: 1.004 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004804/0.9616, allocations: 1.893 MB / 1.111 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001162/0.9628, allocations: 464.9 kB / 1.111 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.00226/0.9651, allocations: 0.6393 MB / 1.112 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.003647/0.9687, allocations: 1.738 MB / 1.113 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.9688, allocations: 0 / 1.113 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.166e-06/0.9688, allocations: 0 / 1.113 GB, free: 0.8359 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.408e-05/0.9689, allocations: 0 / 1.113 GB, free: 0.8359 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: 255 * Number of variables: 255 Notification: Performance of Generate backend data structure: time 0.003957/0.9728, allocations: 1.446 MB / 1.115 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.724e-05/0.9729, allocations: 15.02 kB / 1.115 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002287/0.9752, allocations: 313.9 kB / 1.115 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002652/0.9779, allocations: 0.939 MB / 1.116 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001169/0.978, allocations: 79.27 kB / 1.116 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003454/0.9784, allocations: 103.3 kB / 1.116 GB, free: 15.55 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002553/0.9809, allocations: 1.181 MB / 1.117 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.465e-05/0.981, allocations: 0 / 1.117 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/0.9811, allocations: 47.88 kB / 1.117 GB, free: 15.4 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-05/0.9812, allocations: 37.41 kB / 1.117 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001842/0.983, allocations: 0.9515 MB / 1.118 GB, free: 15.39 MB / 0.7136 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.9891, allocations: 4.534 MB / 1.123 GB, free: 12.92 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001153/0.9902, allocations: 0.7647 MB / 1.124 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005397/0.9908, allocations: 408.2 kB / 1.124 GB, free: 12.88 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006491/0.9914, allocations: 330.3 kB / 1.124 GB, free: 12.59 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.736e-05/0.9915, allocations: 51.3 kB / 1.124 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=72): time 3.567e-06/0.9915, allocations: 0 / 1.124 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of matching and sorting (n=72): time 0.002057/0.9936, allocations: 1.05 MB / 1.125 GB, free: 12.44 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.472e-05/0.9936, allocations: 58.34 kB / 1.125 GB, free: 12.38 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001089/0.9947, allocations: 0.7941 MB / 1.126 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 8.678e-05/0.9948, allocations: 41.67 kB / 1.126 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004263/0.9953, allocations: 0.5216 MB / 1.127 GB, free: 11.98 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002657/0.9955, allocations: 260.9 kB / 1.127 GB, free: 11.81 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.9957, allocations: 74.16 kB / 1.127 GB, free: 11.79 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.9958, allocations: 335.3 kB / 1.127 GB, free: 11.49 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005768/0.9964, allocations: 300.3 kB / 1.128 GB, free: 11.48 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008923/0.9973, allocations: 0.5016 MB / 1.128 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001509/0.9988, allocations: 0.7969 MB / 1.129 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.035e-06/0.9988, allocations: 5 kB / 1.129 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001768/1.001, allocations: 0.9264 MB / 1.13 GB, free: 11.01 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001546/1.001, allocations: 212.6 kB / 1.13 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.69e-05/1.001, allocations: 12.34 kB / 1.13 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.262e-05/1.001, allocations: 6.031 kB / 1.13 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009541/1.002, allocations: 188 kB / 1.13 GB, free: 10.77 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004138/1.002, allocations: 0.5963 MB / 1.131 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/1.003, allocations: 137 kB / 1.131 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.845e-05/1.003, allocations: 35.78 kB / 1.131 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.276e-06/1.003, allocations: 3.844 kB / 1.131 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001328/1.005, allocations: 0.8108 MB / 1.132 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.763e-06/1.005, allocations: 5.766 kB / 1.132 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.076e-05/1.005, allocations: 13.34 kB / 1.132 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006174/1.005, allocations: 171.6 kB / 1.132 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.578e-06/1.005, allocations: 9.156 kB / 1.132 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008472/1.006, allocations: 124 kB / 1.132 GB, free: 10.06 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.324e-05/1.006, allocations: 29.94 kB / 1.132 GB, free: 10.06 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (99): * Single equations (assignments): 98 * 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.0006178/1.007, allocations: 411.4 kB / 1.132 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001583/1.007, allocations: 94.41 kB / 1.133 GB, free: 9.824 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001282/1.008, allocations: 0.8448 MB / 1.133 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.168e-06/1.008, allocations: 7.828 kB / 1.133 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.903e-06/1.008, allocations: 0 / 1.133 GB, free: 9.746 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001061/1.009, allocations: 0.9046 MB / 1.134 GB, free: 9.387 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003856/1.013, allocations: 2.208 MB / 1.136 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.262e-06/1.013, allocations: 2.938 kB / 1.136 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007597/1.014, allocations: 160.8 kB / 1.137 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.061e-05/1.014, allocations: 5.125 kB / 1.137 GB, free: 8.875 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.555e-05/1.014, allocations: 25.22 kB / 1.137 GB, free: 8.871 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003238/1.015, allocations: 0.5968 MB / 1.137 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/1.015, allocations: 5.531 kB / 1.137 GB, free: 8.285 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001924/1.016, allocations: 1.367 MB / 1.139 GB, free: 8 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005013/1.017, allocations: 265.1 kB / 1.139 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/1.017, allocations: 20.59 kB / 1.139 GB, free: 7.844 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006524/1.018, allocations: 72.73 kB / 1.139 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.344e-05/1.018, allocations: 54.36 kB / 1.139 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.974e-05/1.018, allocations: 23.89 kB / 1.139 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0007457/1.019, allocations: 0.5395 MB / 1.139 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/1.019, allocations: 0 / 1.139 GB, free: 7.738 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001595/1.02, allocations: 0.5807 MB / 1.14 GB, free: 7.641 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (72): * Single equations (assignments): 71 * 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.000557/1.021, allocations: 243.1 kB / 1.14 GB, free: 7.52 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.002359/1.023, allocations: 1.2 MB / 1.141 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 6.342e-06/1.023, allocations: 0 / 1.141 GB, free: 7.492 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0005954/1.024, allocations: 386.1 kB / 1.142 GB, free: 7.488 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002556/1.026, allocations: 499.5 kB / 1.142 GB, free: 7.441 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004806/1.031, allocations: 2.888 MB / 1.145 GB, free: 5.855 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008374/1.032, allocations: 1.174 MB / 1.146 GB, free: 4.969 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003276/1.032, allocations: 95.88 kB / 1.146 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of SimCode: time 7.41e-07/1.032, allocations: 4 kB / 1.146 GB, free: 4.949 MB / 0.7136 GB Notification: Performance of Templates: time 0.03401/1.066, allocations: 21.42 MB / 1.167 GB, free: 5.602 MB / 0.7292 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)