Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.Density.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.Examples.Density,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Density,fileNamePrefix="Buildings_8_Buildings_Fluid_Sensors_Examples_Density",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.001417/0.001417, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001808/0.001808, allocations: 196.9 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.553/1.553, allocations: 205.1 MB / 222.4 MB, free: 4.602 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.048/2.048, allocations: 292.3 MB / 0.5489 GB, free: 12.83 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 67.28 kB / 0.6716 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3143/0.3157, allocations: 114.6 MB / 0.7835 GB, free: 13.39 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.7279/1.044, allocations: 185 MB / 0.9642 GB, free: 400 kB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.0106/1.054, allocations: 6.946 MB / 0.971 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002197/1.057, allocations: 25.97 kB / 0.971 GB, free: 15.79 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001761/1.058, allocations: 398.6 kB / 0.9714 GB, free: 15.65 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005149/1.064, allocations: 1.438 MB / 0.9728 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004674/1.068, allocations: 1.155 MB / 0.9739 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003599/1.072, allocations: 1.932 MB / 0.9758 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001413/1.073, allocations: 0.656 MB / 0.9764 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001884/1.075, allocations: 0.8188 MB / 0.9772 GB, free: 14.43 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001342/1.077, allocations: 0.6025 MB / 0.9778 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001469/1.077, allocations: 68.12 kB / 0.9779 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004302/1.081, allocations: 1.924 MB / 0.9798 GB, free: 13.7 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004343/1.082, allocations: 295.2 kB / 0.98 GB, free: 13.58 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0006414/1.082, allocations: 425.4 kB / 0.9804 GB, free: 13.35 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003624/1.086, allocations: 1.753 MB / 0.9822 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.653e-06/1.086, allocations: 6.516 kB / 0.9822 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.613e-06/1.086, allocations: 0 / 0.9822 GB, free: 12.48 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.211e-05/1.086, allocations: 0 / 0.9822 GB, free: 12.48 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 131 * Number of variables: 131 Notification: Performance of Generate backend data structure: time 0.001889/1.088, allocations: 1.159 MB / 0.9833 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/1.088, allocations: 10.34 kB / 0.9833 GB, free: 11.56 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001059/1.088, allocations: 93.2 kB / 0.9834 GB, free: 11.48 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001861/1.09, allocations: 270 kB / 0.9836 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008632/1.091, allocations: 0.5728 MB / 0.9842 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.305e-05/1.091, allocations: 45.83 kB / 0.9843 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.72e-05/1.091, allocations: 61.47 kB / 0.9843 GB, free: 10.85 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/1.092, allocations: 0.6369 MB / 0.9849 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.831e-05/1.092, allocations: 1.094 kB / 0.9849 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.418e-05/1.092, allocations: 24.34 kB / 0.985 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.161e-05/1.092, allocations: 19.97 kB / 0.985 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008818/1.093, allocations: 0.5172 MB / 0.9855 GB, free: 10.19 MB / 0.7325 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.003051/1.096, allocations: 2.468 MB / 0.9879 GB, free: 8.059 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006114/1.097, allocations: 379.6 kB / 0.9883 GB, free: 7.859 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003724/1.097, allocations: 234.2 kB / 0.9885 GB, free: 7.746 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005931/1.098, allocations: 308.5 kB / 0.9888 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.493e-05/1.098, allocations: 36.84 kB / 0.9888 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=39): time 2.986e-06/1.098, allocations: 0 / 0.9888 GB, free: 7.395 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39): time 0.001398/1.099, allocations: 0.6136 MB / 0.9894 GB, free: 7.086 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/1.099, allocations: 57.16 kB / 0.9895 GB, free: 7.023 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005891/1.1, allocations: 0.4893 MB / 0.9899 GB, free: 6.727 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.82e-05/1.1, allocations: 38.98 kB / 0.99 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002521/1.1, allocations: 324.6 kB / 0.9903 GB, free: 6.398 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001233/1.1, allocations: 135.4 kB / 0.9904 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001376/1.1, allocations: 96.19 kB / 0.9905 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001478/1.1, allocations: 370.8 kB / 0.9909 GB, free: 5.867 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003188/1.101, allocations: 166.6 kB / 0.991 GB, free: 5.785 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004091/1.101, allocations: 288.1 kB / 0.9913 GB, free: 5.566 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007166/1.102, allocations: 456.9 kB / 0.9917 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/1.102, allocations: 0 / 0.9917 GB, free: 5.281 MB / 0.7325 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009167/1.103, allocations: 0.5222 MB / 0.9922 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.583e-05/1.103, allocations: 4.875 kB / 0.9922 GB, free: 5.012 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/1.103, allocations: 7.734 kB / 0.9922 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/1.103, allocations: 5.5 kB / 0.9923 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007496/1.104, allocations: 135.7 kB / 0.9924 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003475/1.104, allocations: 0.5909 MB / 0.993 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005684/1.105, allocations: 53.55 kB / 0.993 GB, free: 4.336 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.068e-05/1.105, allocations: 20.48 kB / 0.993 GB, free: 4.328 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005026/1.105, allocations: 356 kB / 0.9934 GB, free: 4.105 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003762/1.106, allocations: 283.6 kB / 0.9936 GB, free: 3.891 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007359/1.106, allocations: 455.1 kB / 0.9941 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.326e-06/1.106, allocations: 2.594 kB / 0.9941 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009643/1.107, allocations: 0.5242 MB / 0.9946 GB, free: 3.332 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/1.107, allocations: 8.656 kB / 0.9946 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.949e-06/1.107, allocations: 2.156 kB / 0.9946 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.285e-06/1.107, allocations: 5.656 kB / 0.9946 GB, free: 3.328 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004998/1.108, allocations: 120.5 kB / 0.9947 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/1.108, allocations: 4.469 kB / 0.9947 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005611/1.108, allocations: 43.36 kB / 0.9948 GB, free: 3.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-05/1.108, allocations: 24.73 kB / 0.9948 GB, free: 3.258 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 52 * 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.000228/1.109, allocations: 205.9 kB / 0.995 GB, free: 3.059 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001166/1.109, allocations: 63.06 kB / 0.995 GB, free: 3.023 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009573/1.11, allocations: 479.5 kB / 0.9955 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/1.11, allocations: 4.438 kB / 0.9955 GB, free: 2.75 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/1.11, allocations: 4 kB / 0.9955 GB, free: 2.746 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008318/1.111, allocations: 0.6999 MB / 0.9962 GB, free: 2.145 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002172/1.113, allocations: 1.277 MB / 0.9974 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.559e-06/1.113, allocations: 2.688 kB / 0.9974 GB, free: 1.223 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006143/1.113, allocations: 122 kB / 0.9976 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.011e-05/1.113, allocations: 5.156 kB / 0.9976 GB, free: 1.191 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.783e-05/1.114, allocations: 8.594 kB / 0.9976 GB, free: 1.188 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003221/1.114, allocations: 0.601 MB / 0.9982 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/1.114, allocations: 2.781 kB / 0.9982 GB, free: 0.5781 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001315/1.115, allocations: 0.8197 MB / 0.999 GB, free: 56 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002958/1.115, allocations: 187.4 kB / 0.9991 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001137/1.116, allocations: 10.61 kB / 0.9992 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004515/1.116, allocations: 29.98 kB / 0.9992 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.693e-05/1.116, allocations: 32.08 kB / 0.9992 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.401e-05/1.116, allocations: 13.03 kB / 0.9992 GB, free: 15.84 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004926/1.117, allocations: 354.7 kB / 0.9996 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/1.117, allocations: 0 / 0.9996 GB, free: 15.63 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001278/1.118, allocations: 352 kB / 0.9999 GB, free: 15.57 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],senDenFlo.d) * 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 (39): * Single equations (assignments): 38 * 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.002027/1.12, allocations: 1.473 MB / 1.001 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.001701/1.122, allocations: 0.7098 MB / 1.002 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.33e-06/1.122, allocations: 0 / 1.002 GB, free: 14.15 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0004988/1.122, allocations: 232.1 kB / 1.002 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001906/1.124, allocations: 359.6 kB / 1.003 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007418/1.132, allocations: 5.097 MB / 1.008 GB, free: 10.38 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004994/1.132, allocations: 0.948 MB / 1.008 GB, free: 9.559 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000743/1.133, allocations: 209.5 kB / 1.009 GB, free: 9.465 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003096/1.133, allocations: 224.5 kB / 1.009 GB, free: 9.285 MB / 0.7481 GB Notification: Performance of SimCode: time 1.002e-06/1.133, allocations: 0 / 1.009 GB, free: 9.285 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04464/1.178, allocations: 17.69 MB / 1.026 GB, free: 13.48 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/12.66, allocations: 9 kB / 1.026 GB, free: 13.48 MB / 0.7637 GB (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.Density.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Sensors.Examples.Density_res.csv --start-time 0 --stop-time 60 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_Density.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1)