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.898/0.898, allocations: 141.8 MB / 149.3 MB, free: 9.23 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001027/0.001027, allocations: 179.9 kB / 182.2 MB, free: 9.465 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.469/1.469, allocations: 221.5 MB / 436.4 MB, free: 13.29 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.001267/0.001267, allocations: 96.03 kB / 0.5074 GB, free: 10.13 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001758/0.001758, allocations: 280.2 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.906e-05/1.909e-05, allocations: 8 kB / 0.6765 GB, free: 12.83 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5474/0.5474, allocations: 82.77 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.205/5.753, allocations: 1.937 GB / 2.695 GB, free: 82.63 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002791/5.753, allocations: 95.7 kB / 2.695 GB, free: 82.59 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.521/8.274, allocations: 0.6295 GB / 3.324 GB, free: 120.3 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.063e-06/8.275, allocations: 0 / 3.324 GB, free: 120.3 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001583/8.275, allocations: 36.92 kB / 3.324 GB, free: 120.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.004538/8.279, allocations: 1.468 MB / 3.326 GB, free: 119.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.409e-05/8.279, allocations: 7.469 kB / 3.326 GB, free: 119.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002054/8.281, allocations: 317.1 kB / 3.326 GB, free: 119.8 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002721/8.284, allocations: 1.191 MB / 3.327 GB, free: 119.6 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.759e-05/8.284, allocations: 36.94 kB / 3.327 GB, free: 119.6 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001717/8.284, allocations: 60.69 kB / 3.327 GB, free: 119.6 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00146/8.286, allocations: 0.8137 MB / 3.328 GB, free: 119.6 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001541/8.287, allocations: 0.9798 MB / 3.329 GB, free: 119.4 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.651e-05/8.287, allocations: 1.906 kB / 3.329 GB, free: 119.4 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.47e-05/8.288, allocations: 2.406 kB / 3.329 GB, free: 119.4 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.106e-05/8.288, allocations: 40.91 kB / 3.329 GB, free: 119.4 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.004395/8.292, allocations: 4.5 MB / 3.334 GB, free: 116.8 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/8.293, allocations: 0.6243 MB / 3.334 GB, free: 116.8 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004503/8.294, allocations: 327.4 kB / 3.335 GB, free: 116.8 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005028/8.294, allocations: 319.7 kB / 3.335 GB, free: 116.5 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/8.294, allocations: 41.47 kB / 3.335 GB, free: 116.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=68): time 2.735e-06/8.294, allocations: 0 / 3.335 GB, free: 116.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=68): time 0.001586/8.296, allocations: 0.7349 MB / 3.336 GB, free: 116.4 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.988e-05/8.296, allocations: 114.1 kB / 3.336 GB, free: 116.3 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007802/8.297, allocations: 0.5551 MB / 3.336 GB, free: 116.2 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.666e-05/8.297, allocations: 32.11 kB / 3.336 GB, free: 116.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004031/8.297, allocations: 0.5305 MB / 3.337 GB, free: 115.9 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001968/8.297, allocations: 235.6 kB / 3.337 GB, free: 115.8 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.105e-05/8.297, allocations: 0 / 3.337 GB, free: 115.8 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.452e-05/8.297, allocations: 336.7 kB / 3.337 GB, free: 115.5 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003315/8.298, allocations: 250 kB / 3.338 GB, free: 115.5 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006265/8.298, allocations: 487.7 kB / 3.338 GB, free: 115.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000713/8.299, allocations: 410.4 kB / 3.338 GB, free: 115.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.661e-06/8.299, allocations: 3.656 kB / 3.338 GB, free: 115.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001552/8.301, allocations: 0.8594 MB / 3.339 GB, free: 115.1 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.000431/8.301, allocations: 1.754 MB / 3.341 GB, free: 113.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.656e-05/8.301, allocations: 10.66 kB / 3.341 GB, free: 113.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.477e-05/8.301, allocations: 8.719 kB / 3.341 GB, free: 113.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009835/8.302, allocations: 178.9 kB / 3.341 GB, free: 113.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003093/8.302, allocations: 0.6054 MB / 3.342 GB, free: 112.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009991/8.304, allocations: 116 kB / 3.342 GB, free: 112.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.441e-05/8.304, allocations: 33.81 kB / 3.342 GB, free: 112.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/8.304, allocations: 7.5 kB / 3.342 GB, free: 112.7 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001266/8.305, allocations: 0.7364 MB / 3.343 GB, free: 112.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/8.305, allocations: 10.23 kB / 3.343 GB, free: 112.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.087e-06/8.305, allocations: 7.719 kB / 3.343 GB, free: 112.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000604/8.306, allocations: 172.7 kB / 3.343 GB, free: 112.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/8.306, allocations: 15.25 kB / 3.343 GB, free: 112.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007303/8.306, allocations: 101.6 kB / 3.343 GB, free: 112.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.249e-05/8.306, allocations: 29.47 kB / 3.343 GB, free: 112.7 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.0001695/8.307, allocations: 127.9 kB / 3.343 GB, free: 112.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/8.307, allocations: 91.66 kB / 3.343 GB, free: 112.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001342/8.308, allocations: 0.7667 MB / 3.344 GB, free: 112.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.565e-06/8.308, allocations: 6.938 kB / 3.344 GB, free: 112.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/8.308, allocations: 0 / 3.344 GB, free: 112.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001043/8.309, allocations: 0.8711 MB / 3.345 GB, free: 112.1 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003019/8.312, allocations: 1.954 MB / 3.347 GB, free: 111.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/8.312, allocations: 5.375 kB / 3.347 GB, free: 111.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007133/8.313, allocations: 157.5 kB / 3.347 GB, free: 111.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/8.313, allocations: 6.781 kB / 3.347 GB, free: 111.6 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.481e-05/8.313, allocations: 14.64 kB / 3.347 GB, free: 111.6 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002215/8.313, allocations: 0.5933 MB / 3.347 GB, free: 111.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/8.313, allocations: 3.844 kB / 3.347 GB, free: 111.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001618/8.315, allocations: 1.365 MB / 3.349 GB, free: 110.6 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003541/8.315, allocations: 245.6 kB / 3.349 GB, free: 110.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001121/8.315, allocations: 8.656 kB / 3.349 GB, free: 110.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006215/8.316, allocations: 64.39 kB / 3.349 GB, free: 110.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.455e-05/8.316, allocations: 47.58 kB / 3.349 GB, free: 110.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.444e-05/8.316, allocations: 28.05 kB / 3.349 GB, free: 110.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000501/8.317, allocations: 434.7 kB / 3.35 GB, free: 110.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 2.7e-07/8.317, allocations: 0 / 3.35 GB, free: 110.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001964/8.319, allocations: 0.6739 MB / 3.35 GB, free: 110.3 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.002665/8.321, allocations: 2.081 MB / 3.352 GB, free: 109.8 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001673/8.323, allocations: 1.041 MB / 3.353 GB, free: 109.8 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.518e-06/8.323, allocations: 0 / 3.353 GB, free: 109.8 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003971/8.323, allocations: 323.7 kB / 3.354 GB, free: 109.8 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0019/8.325, allocations: 420.4 kB / 3.354 GB, free: 109.8 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002633/8.328, allocations: 1.726 MB / 3.356 GB, free: 109.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005625/8.328, allocations: 1.201 MB / 3.357 GB, free: 108.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001248/8.33, allocations: 392.8 kB / 3.357 GB, free: 108.5 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/8.33, allocations: 67.88 kB / 3.357 GB, free: 108.5 MB / 0.698 GB Notification: Performance of SimCode: time 7.52e-07/8.33, allocations: 2.844 kB / 3.357 GB, free: 108.5 MB / 0.698 GB Notification: Performance of Templates: time 0.04067/8.371, allocations: 26.59 MB / 3.383 GB, free: 107.7 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)