Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.Sensors.Examples.Density,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.Density,fileNamePrefix="BuildingSystems_BuildingSystems_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.0008796/0.0008796, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005447/0.005447, allocations: 169.9 kB / 16.26 MB, free: 6.613 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.366/1.366, allocations: 223.3 MB / 240.3 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001872/0.001873, allocations: 274.8 kB / 291.7 MB, free: 1.891 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9506/0.9506, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004952/0.0004954, allocations: 13.25 kB / 0.5988 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1745, allocations: 88.55 MB / 0.6852 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Density): time 0.4994/0.674, allocations: 180.4 MB / 0.8614 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009464/0.6835, allocations: 6.962 MB / 0.8682 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008463/0.6844, allocations: 25.5 kB / 0.8682 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0009749/0.6853, allocations: 337 kB / 0.8685 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003459/0.6888, allocations: 1.362 MB / 0.8699 GB, free: 14.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002784/0.6916, allocations: 1.059 MB / 0.8709 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002737/0.6944, allocations: 2.712 MB / 0.8735 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007599/0.6951, allocations: 0.5402 MB / 0.8741 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001344/0.6965, allocations: 0.7128 MB / 0.8748 GB, free: 11.3 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001122/0.6976, allocations: 0.6024 MB / 0.8753 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.35e-05/0.6977, allocations: 30.66 kB / 0.8754 GB, free: 10.97 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003524/0.7012, allocations: 2.185 MB / 0.8775 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002661/0.7015, allocations: 247.7 kB / 0.8777 GB, free: 9.539 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.000395/0.7019, allocations: 409.2 kB / 0.8781 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002276/0.7042, allocations: 1.818 MB / 0.8799 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.7042, allocations: 0 / 0.8799 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.433e-06/0.7042, allocations: 0 / 0.8799 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.043e-05/0.7042, allocations: 4 kB / 0.8799 GB, free: 8.164 MB / 0.5919 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.001696/0.7059, allocations: 1.017 MB / 0.8809 GB, free: 7.34 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.755e-05/0.706, allocations: 15.12 kB / 0.8809 GB, free: 7.336 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001512/0.7062, allocations: 93.17 kB / 0.881 GB, free: 7.254 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001914/0.7081, allocations: 272.5 kB / 0.8813 GB, free: 7 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008759/0.709, allocations: 0.5715 MB / 0.8818 GB, free: 6.391 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.238e-05/0.709, allocations: 45.31 kB / 0.8819 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.062e-05/0.7091, allocations: 52 kB / 0.8819 GB, free: 6.293 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/0.7102, allocations: 0.6478 MB / 0.8826 GB, free: 5.633 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/0.7102, allocations: 3.938 kB / 0.8826 GB, free: 5.629 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.338e-05/0.7103, allocations: 20 kB / 0.8826 GB, free: 5.609 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.315e-05/0.7103, allocations: 25.31 kB / 0.8826 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009071/0.7112, allocations: 0.5321 MB / 0.8831 GB, free: 5.055 MB / 0.5919 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.002756/0.714, allocations: 2.461 MB / 0.8855 GB, free: 2.379 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006305/0.7147, allocations: 365.4 kB / 0.8859 GB, free: 2.016 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003803/0.715, allocations: 241.3 kB / 0.8861 GB, free: 1.777 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005881/0.7156, allocations: 323.6 kB / 0.8864 GB, free: 1.406 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.463e-05/0.7157, allocations: 50.83 kB / 0.8865 GB, free: 1.348 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=39): time 1.714e-06/0.7157, allocations: 3.938 kB / 0.8865 GB, free: 1.344 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39): time 0.001329/0.717, allocations: 0.6301 MB / 0.8871 GB, free: 0.707 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.973e-05/0.7171, allocations: 55.41 kB / 0.8871 GB, free: 0.6406 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005466/0.7176, allocations: 0.4911 MB / 0.8876 GB, free: 144 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.565e-05/0.7177, allocations: 37.7 kB / 0.8877 GB, free: 100 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002337/0.7179, allocations: 328.4 kB / 0.888 GB, free: 15.77 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001153/0.7181, allocations: 138 kB / 0.8881 GB, free: 15.64 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.431e-05/0.7181, allocations: 41.69 kB / 0.8881 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.7183, allocations: 366.8 kB / 0.8885 GB, free: 15.22 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003262/0.7186, allocations: 176.8 kB / 0.8887 GB, free: 15.05 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004119/0.719, allocations: 283.4 kB / 0.8889 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007397/0.7198, allocations: 472 kB / 0.8894 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.7198, allocations: 0 / 0.8894 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009174/0.7207, allocations: 0.5359 MB / 0.8899 GB, free: 13.7 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001028/0.7208, allocations: 152.7 kB / 0.89 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.7208, allocations: 4 kB / 0.89 GB, free: 13.51 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.025e-05/0.7209, allocations: 7.938 kB / 0.8901 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007302/0.7216, allocations: 139.8 kB / 0.8902 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003768/0.722, allocations: 0.5977 MB / 0.8908 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006196/0.7226, allocations: 83.58 kB / 0.8909 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.017e-05/0.7227, allocations: 27.98 kB / 0.8909 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 6.542e-06/0.7227, allocations: 4 kB / 0.8909 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008489/0.7235, allocations: 468 kB / 0.8913 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-06/0.7236, allocations: 3.938 kB / 0.8913 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.7e-06/0.7236, allocations: 4 kB / 0.8913 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004899/0.7241, allocations: 131.8 kB / 0.8915 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.7241, allocations: 7.984 kB / 0.8915 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000548/0.7246, allocations: 83.61 kB / 0.8915 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.443e-05/0.7247, allocations: 16 kB / 0.8916 GB, free: 11.93 MB / 0.6075 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.0003355/0.725, allocations: 312.9 kB / 0.8919 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.941e-05/0.7251, allocations: 55.34 kB / 0.8919 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000963/0.7261, allocations: 0.492 MB / 0.8924 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-05/0.7261, allocations: 4 kB / 0.8924 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.7261, allocations: 0 / 0.8924 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007973/0.7269, allocations: 0.7105 MB / 0.8931 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001875/0.7288, allocations: 1.304 MB / 0.8944 GB, free: 8.879 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.229e-06/0.7288, allocations: 4 kB / 0.8944 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006004/0.7294, allocations: 140 kB / 0.8945 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.847e-06/0.7294, allocations: 0 / 0.8945 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.108e-05/0.7295, allocations: 12 kB / 0.8945 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002802/0.7298, allocations: 0.5938 MB / 0.8951 GB, free: 8.109 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/0.7298, allocations: 4 kB / 0.8951 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.7309, allocations: 0.8102 MB / 0.8959 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00021/0.7312, allocations: 180.4 kB / 0.8961 GB, free: 7.062 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.963e-05/0.7312, allocations: 8 kB / 0.8961 GB, free: 7.055 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004916/0.7317, allocations: 65.05 kB / 0.8961 GB, free: 6.992 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.982e-05/0.7318, allocations: 31.91 kB / 0.8962 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.945e-05/0.7319, allocations: 15.98 kB / 0.8962 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004003/0.7323, allocations: 354.8 kB / 0.8965 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.6e-07/0.7323, allocations: 0 / 0.8965 GB, free: 6.602 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009097/0.7332, allocations: 359.2 kB / 0.8969 GB, free: 6.25 MB / 0.6075 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,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.001893/0.7351, allocations: 1.46 MB / 0.8983 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001422/0.7365, allocations: 0.6768 MB / 0.8989 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.7365, allocations: 0 / 0.8989 GB, free: 4.074 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004155/0.737, allocations: 228.9 kB / 0.8992 GB, free: 3.852 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001903/0.7389, allocations: 363.2 kB / 0.8995 GB, free: 3.504 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0075/0.7464, allocations: 5.491 MB / 0.9049 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005461/0.747, allocations: 0.9494 MB / 0.9058 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008254/0.7478, allocations: 208.9 kB / 0.906 GB, free: 12.65 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003612/0.7482, allocations: 227.4 kB / 0.9062 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of SimCode: time 1.593e-06/0.7482, allocations: 0 / 0.9062 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0502/0.7984, allocations: 16.95 MB / 0.9228 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002254/0.7986, allocations: 272.6 kB / 0.923 GB, free: 11.47 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.153/2.952, allocations: 0 / 0.923 GB, free: 11.47 MB / 0.6387 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Density.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Density.pipe 2>&1)