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: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.888/0.888, allocations: 141.8 MB / 149.3 MB, free: 9.211 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.001288/0.001288, allocations: 184.8 kB / 182.2 MB, free: 9.445 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.704/1.704, allocations: 221.5 MB / 436.4 MB, free: 13.36 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.001182/0.001182, allocations: 85.55 kB / 0.5074 GB, free: 10.2 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002049/0.002049, allocations: 293.3 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.988e-05/2.992e-05, allocations: 4 kB / 0.6766 GB, free: 12.76 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5111/0.5112, allocations: 82.78 MB / 0.7575 GB, free: 31.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.781/5.292, allocations: 1.937 GB / 2.695 GB, free: 119.4 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002503/5.292, allocations: 91.94 kB / 2.695 GB, free: 119.3 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.022/7.314, allocations: 0.6295 GB / 3.325 GB, free: 18.64 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.423e-06/7.314, allocations: 3.938 kB / 3.325 GB, free: 18.63 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.179e-05/7.315, allocations: 40 kB / 3.325 GB, free: 18.59 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.00264/7.317, allocations: 1.466 MB / 3.326 GB, free: 17.08 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/7.317, allocations: 8.031 kB / 3.326 GB, free: 17.07 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001771/7.319, allocations: 318 kB / 3.326 GB, free: 16.76 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002601/7.322, allocations: 1.191 MB / 3.327 GB, free: 15.52 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.89e-05/7.322, allocations: 32 kB / 3.328 GB, free: 15.49 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/7.322, allocations: 60 kB / 3.328 GB, free: 15.43 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001309/7.323, allocations: 0.8161 MB / 3.328 GB, free: 14.62 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001475/7.325, allocations: 0.9849 MB / 3.329 GB, free: 13.59 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.944e-05/7.325, allocations: 0 / 3.329 GB, free: 13.59 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.328e-05/7.325, allocations: 0 / 3.329 GB, free: 13.59 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.558e-05/7.325, allocations: 41.94 kB / 3.329 GB, free: 13.55 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.004447/7.329, allocations: 4.505 MB / 3.334 GB, free: 8.672 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007533/7.33, allocations: 0.6276 MB / 3.334 GB, free: 8.035 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003882/7.33, allocations: 331 kB / 3.335 GB, free: 7.711 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005086/7.331, allocations: 307.8 kB / 3.335 GB, free: 7.355 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.047e-05/7.331, allocations: 50.98 kB / 3.335 GB, free: 7.297 MB / 0.698 GB Notification: Performance of pre-optimization done (n=68): time 3.076e-06/7.331, allocations: 4 kB / 3.335 GB, free: 7.293 MB / 0.698 GB Notification: Performance of matching and sorting (n=68): time 0.001593/7.333, allocations: 0.7322 MB / 3.336 GB, free: 6.551 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.889e-05/7.333, allocations: 107.4 kB / 3.336 GB, free: 6.422 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005817/7.333, allocations: 0.5552 MB / 3.336 GB, free: 5.859 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.131e-05/7.333, allocations: 25.7 kB / 3.336 GB, free: 5.828 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000263/7.334, allocations: 0.5383 MB / 3.337 GB, free: 5.281 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001477/7.334, allocations: 228.5 kB / 3.337 GB, free: 5.055 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.178e-05/7.334, allocations: 0 / 3.337 GB, free: 5.055 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.153e-05/7.334, allocations: 341.9 kB / 3.337 GB, free: 4.715 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003323/7.334, allocations: 245.5 kB / 3.338 GB, free: 4.473 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004321/7.335, allocations: 491.9 kB / 3.338 GB, free: 3.895 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000686/7.335, allocations: 420.2 kB / 3.339 GB, free: 3.484 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/7.335, allocations: 4 kB / 3.339 GB, free: 3.48 MB / 0.698 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001337/7.337, allocations: 0.8584 MB / 3.339 GB, free: 2.617 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003664/7.337, allocations: 1.751 MB / 3.341 GB, free: 0.7266 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.414e-05/7.337, allocations: 4 kB / 3.341 GB, free: 0.7227 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.949e-05/7.337, allocations: 11.94 kB / 3.341 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001225/7.338, allocations: 179.8 kB / 3.341 GB, free: 0.5352 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4629/7.801, allocations: 0.606 MB / 3.342 GB, free: 115.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/7.803, allocations: 109.7 kB / 3.342 GB, free: 115.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.784e-05/7.803, allocations: 33.72 kB / 3.342 GB, free: 115.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/7.803, allocations: 10.33 kB / 3.342 GB, free: 115.4 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001643/7.805, allocations: 0.737 MB / 3.343 GB, free: 115.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.668e-06/7.805, allocations: 4.219 kB / 3.343 GB, free: 115.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.668e-05/7.805, allocations: 13.25 kB / 3.343 GB, free: 115.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000733/7.805, allocations: 175.5 kB / 3.343 GB, free: 115.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.376e-05/7.805, allocations: 9.156 kB / 3.343 GB, free: 115.4 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009525/7.806, allocations: 102.2 kB / 3.343 GB, free: 115.4 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.128e-05/7.806, allocations: 34.08 kB / 3.343 GB, free: 115.4 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.0001974/7.807, allocations: 121.8 kB / 3.343 GB, free: 115.3 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001392/7.808, allocations: 0.7028 MB / 3.344 GB, free: 115.2 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001451/7.808, allocations: 97.25 kB / 3.344 GB, free: 115.2 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001572/7.81, allocations: 0.7608 MB / 3.345 GB, free: 115.2 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.856e-06/7.81, allocations: 6.125 kB / 3.345 GB, free: 115.2 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/7.81, allocations: 3.594 kB / 3.345 GB, free: 115.2 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001194/7.811, allocations: 0.8723 MB / 3.346 GB, free: 114.8 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003842/7.815, allocations: 1.954 MB / 3.348 GB, free: 114.4 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.499e-06/7.815, allocations: 0 / 3.348 GB, free: 114.4 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007656/7.816, allocations: 158.6 kB / 3.348 GB, free: 114.4 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.068e-05/7.816, allocations: 4.062 kB / 3.348 GB, free: 114.4 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.788e-05/7.816, allocations: 15.02 kB / 3.348 GB, free: 114.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002083/7.816, allocations: 0.5999 MB / 3.348 GB, free: 113.8 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/7.816, allocations: 7.219 kB / 3.348 GB, free: 113.8 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001952/7.818, allocations: 1.353 MB / 3.35 GB, free: 113.4 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003934/7.818, allocations: 246.5 kB / 3.35 GB, free: 113.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/7.818, allocations: 6.656 kB / 3.35 GB, free: 113.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006751/7.819, allocations: 67.03 kB / 3.35 GB, free: 113.2 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.801e-05/7.819, allocations: 55.19 kB / 3.35 GB, free: 113.2 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.293e-05/7.819, allocations: 20.28 kB / 3.35 GB, free: 113.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004588/7.82, allocations: 439.1 kB / 3.35 GB, free: 113.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.5e-07/7.82, allocations: 0 / 3.35 GB, free: 113.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001795/7.821, allocations: 0.6642 MB / 3.351 GB, free: 113.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.005305/7.827, allocations: 4.514 MB / 3.355 GB, free: 111.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002215/7.829, allocations: 1.035 MB / 3.356 GB, free: 111.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/7.829, allocations: 3.594 kB / 3.356 GB, free: 111.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004942/7.83, allocations: 322.1 kB / 3.357 GB, free: 111.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00244/7.832, allocations: 421.1 kB / 3.357 GB, free: 111 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003704/7.836, allocations: 1.997 MB / 3.359 GB, free: 110.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005551/7.836, allocations: 1.199 MB / 3.36 GB, free: 109.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001384/7.838, allocations: 395.1 kB / 3.361 GB, free: 109.8 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004462/7.838, allocations: 411.3 kB / 3.361 GB, free: 109.8 MB / 0.698 GB Notification: Performance of SimCode: time 8.32e-07/7.838, allocations: 0 / 3.361 GB, free: 109.8 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0606/7.899, allocations: 38.75 MB / 3.399 GB, free: 109.1 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001489/7.899, allocations: 191.7 kB / 3.399 GB, free: 108.9 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.33/11.23, allocations: 0 / 3.399 GB, free: 108.9 MB / 0.698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Conversions_Examples_To_VolumeFraction_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-08 BuildingSystems_BuildingSystems_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)