Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.conf.json 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/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction,fileNamePrefix="Buildings_9_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008989/0.008989, allocations: 99.55 kB / 15.73 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00163/0.00163, allocations: 198.5 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.443/1.443, allocations: 222.9 MB / 240.4 MB, free: 4.18 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.174/2.174, allocations: 390.2 MB / 0.6648 GB, free: 176 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001177/0.001177, allocations: 66.86 kB / 0.9504 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2656/0.2668, allocations: 140.4 MB / 1.087 GB, free: 1.957 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction): time 0.7044/0.9712, allocations: 198 MB / 1.281 GB, free: 3.191 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.01194/0.9832, allocations: 10.9 MB / 1.291 GB, free: 3.066 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001152/0.9843, allocations: 46.38 kB / 1.292 GB, free: 3.066 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.001286/0.9857, allocations: 0.5354 MB / 1.292 GB, free: 3.055 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.003762/0.9894, allocations: 1.795 MB / 1.294 GB, free: 2.984 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.002602/0.9921, allocations: 1.168 MB / 1.295 GB, free: 2.953 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.003042/0.9951, allocations: 2.776 MB / 1.298 GB, free: 2.945 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001426/0.9965, allocations: 1.203 MB / 1.299 GB, free: 2.836 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003431/1, allocations: 1.629 MB / 1.3 GB, free: 2.805 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001162/1.001, allocations: 0.9464 MB / 1.301 GB, free: 2.805 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.00017/1.001, allocations: 123.9 kB / 1.301 GB, free: 2.805 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003221/1.005, allocations: 1.72 MB / 1.303 GB, free: 2.789 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.0005391/1.005, allocations: 0.5173 MB / 1.304 GB, free: 2.785 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.0007178/1.006, allocations: 0.7183 MB / 1.304 GB, free: 2.695 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.002941/1.009, allocations: 2.353 MB / 1.307 GB, free: 2.395 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/1.009, allocations: 1.344 kB / 1.307 GB, free: 2.395 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.222e-06/1.009, allocations: 1.094 kB / 1.307 GB, free: 2.395 MB / 1.014 GB Notification: Performance of Transformations before backend: time 1.507e-05/1.009, allocations: 0 / 1.307 GB, free: 2.395 MB / 1.014 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.002189/1.011, allocations: 1.693 MB / 1.308 GB, free: 1.504 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.405e-05/1.011, allocations: 8.969 kB / 1.308 GB, free: 1.504 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001548/1.011, allocations: 160.1 kB / 1.308 GB, free: 1.465 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001573/1.013, allocations: 330.4 kB / 1.309 GB, free: 1.387 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001315/1.014, allocations: 0.91 MB / 1.31 GB, free: 1.043 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.715e-05/1.014, allocations: 79.33 kB / 1.31 GB, free: 1.043 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001399/1.014, allocations: 108.6 kB / 1.31 GB, free: 1.039 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001522/1.016, allocations: 1.174 MB / 1.311 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.451e-05/1.016, allocations: 5.469 kB / 1.311 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.194e-05/1.016, allocations: 40.22 kB / 1.311 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.664e-05/1.016, allocations: 40.41 kB / 1.311 GB, free: 0.8984 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00131/1.017, allocations: 0.9394 MB / 1.312 GB, free: 0.8867 MB / 1.014 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.004459/1.022, allocations: 4.71 MB / 1.317 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001033/1.023, allocations: 0.7236 MB / 1.317 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005202/1.023, allocations: 399.6 kB / 1.318 GB, free: 14.18 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005403/1.024, allocations: 317.1 kB / 1.318 GB, free: 13.89 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.15e-05/1.024, allocations: 45.88 kB / 1.318 GB, free: 13.85 MB / 1.029 GB Notification: Performance of pre-optimization done (n=68): time 3.055e-06/1.024, allocations: 2.562 kB / 1.318 GB, free: 13.85 MB / 1.029 GB Notification: Performance of matching and sorting (n=68): time 0.001683/1.026, allocations: 1 MB / 1.319 GB, free: 13.75 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/1.026, allocations: 67.03 kB / 1.319 GB, free: 13.69 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009589/1.027, allocations: 0.7885 MB / 1.32 GB, free: 13.54 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.225e-05/1.027, allocations: 41.55 kB / 1.32 GB, free: 13.51 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003597/1.027, allocations: 0.5372 MB / 1.32 GB, free: 13.27 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.00023/1.027, allocations: 240.4 kB / 1.321 GB, free: 13.12 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002211/1.028, allocations: 145.3 kB / 1.321 GB, free: 13.1 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001245/1.028, allocations: 338.6 kB / 1.321 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005222/1.028, allocations: 299.4 kB / 1.321 GB, free: 12.78 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006952/1.029, allocations: 0.4917 MB / 1.322 GB, free: 12.57 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001043/1.03, allocations: 0.7961 MB / 1.323 GB, free: 12.39 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/1.03, allocations: 2.031 kB / 1.323 GB, free: 12.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=96) (initialization): time 0.001251/1.031, allocations: 0.9121 MB / 1.324 GB, free: 12.29 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/1.031, allocations: 9.906 kB / 1.324 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/1.031, allocations: 5.5 kB / 1.324 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.018e-05/1.031, allocations: 9.062 kB / 1.324 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007817/1.032, allocations: 183 kB / 1.324 GB, free: 12.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003636/1.033, allocations: 0.5994 MB / 1.324 GB, free: 11.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007047/1.033, allocations: 87.2 kB / 1.324 GB, free: 11.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.517e-05/1.033, allocations: 36.94 kB / 1.324 GB, free: 11.66 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007427/1.034, allocations: 0.5416 MB / 1.325 GB, free: 11.58 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005742/1.035, allocations: 0.4982 MB / 1.325 GB, free: 11.36 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0009593/1.036, allocations: 0.7876 MB / 1.326 GB, free: 11.18 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.936e-06/1.036, allocations: 1.125 kB / 1.326 GB, free: 11.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=96) (initialization_lambda0): time 0.001205/1.037, allocations: 0.909 MB / 1.327 GB, free: 11.09 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 9.969e-06/1.037, allocations: 8 kB / 1.327 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/1.037, allocations: 6.281 kB / 1.327 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.662e-06/1.037, allocations: 8 kB / 1.327 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005681/1.037, allocations: 169.9 kB / 1.327 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.106e-06/1.037, allocations: 8.094 kB / 1.327 GB, free: 11.09 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006878/1.038, allocations: 67.97 kB / 1.327 GB, free: 11.06 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.008e-05/1.038, allocations: 36.98 kB / 1.327 GB, free: 11.06 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (96): * Single equations (assignments): 95 * 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.0002249/1.038, allocations: 232.5 kB / 1.328 GB, free: 10.87 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001464/1.039, allocations: 99.69 kB / 1.328 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001179/1.04, allocations: 0.7989 MB / 1.328 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.552e-06/1.04, allocations: 8 kB / 1.328 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/1.04, allocations: 0.5625 kB / 1.328 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008878/1.041, allocations: 0.8812 MB / 1.329 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002779/1.043, allocations: 2.148 MB / 1.331 GB, free: 9.879 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.646e-06/1.044, allocations: 3.406 kB / 1.331 GB, free: 9.879 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006336/1.044, allocations: 151.1 kB / 1.332 GB, free: 9.879 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-06/1.044, allocations: 6.188 kB / 1.332 GB, free: 9.879 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.267e-05/1.044, allocations: 20.77 kB / 1.332 GB, free: 9.879 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002531/1.044, allocations: 0.5928 MB / 1.332 GB, free: 9.297 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.044, allocations: 3.188 kB / 1.332 GB, free: 9.297 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001397/1.046, allocations: 1.282 MB / 1.333 GB, free: 9.016 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003329/1.046, allocations: 256.4 kB / 1.334 GB, free: 8.863 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000102/1.046, allocations: 15 kB / 1.334 GB, free: 8.863 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004873/1.047, allocations: 20.81 kB / 1.334 GB, free: 8.863 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.061e-05/1.047, allocations: 50.95 kB / 1.334 GB, free: 8.859 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.963e-05/1.047, allocations: 26.67 kB / 1.334 GB, free: 8.859 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0005201/1.047, allocations: 0.5464 MB / 1.334 GB, free: 8.715 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.31e-07/1.047, allocations: 0 / 1.334 GB, free: 8.715 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.001171/1.049, allocations: 0.5642 MB / 1.335 GB, free: 8.586 MB / 1.029 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.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[1],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 (68): * Single equations (assignments): 67 * 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.002017/1.051, allocations: 1.978 MB / 1.337 GB, free: 7.383 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001686/1.052, allocations: 1.165 MB / 1.338 GB, free: 7.043 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/1.052, allocations: 0 / 1.338 GB, free: 7.043 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004736/1.053, allocations: 369 kB / 1.338 GB, free: 6.945 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00183/1.055, allocations: 495.3 kB / 1.339 GB, free: 6.785 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008553/1.063, allocations: 7.918 MB / 1.347 GB, free: 2.699 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005729/1.064, allocations: 1.178 MB / 1.348 GB, free: 1.945 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0008175/1.065, allocations: 348.7 kB / 1.348 GB, free: 1.895 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004663/1.065, allocations: 436.3 kB / 1.348 GB, free: 1.57 MB / 1.029 GB Notification: Performance of SimCode: time 3.71e-07/1.065, allocations: 4 kB / 1.348 GB, free: 1.566 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.701/5.766, allocations: 26.43 MB / 1.374 GB, free: 7.742 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.22/20.99, allocations: 14.19 kB / 1.374 GB, free: 7.73 MB / 1.045 GB (rm -f Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; mkfifo Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe >> ../files/Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction_fmu --startTime=0 --stopTime=36000 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Fluid_Sensors_Conversions_Examples_To_VolumeFraction.fmu > Buildings_9_Buildings.Fluid.Sensors.Conversions.Examples.To_VolumeFraction.pipe 2>&1)