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.0008338/0.0008338, allocations: 91.38 kB / 15.06 MB, free: 1.098 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.001026/0.001027, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.567/1.567, allocations: 205.4 MB / 222.1 MB, free: 5.527 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 1.745/1.745, allocations: 292.7 MB / 0.5499 GB, free: 14.55 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.0005025/0.0005026, allocations: 13.78 kB / 0.6738 GB, free: 26.09 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2413/0.2418, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.8605/1.102, allocations: 168.3 MB / 0.9518 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.01214/1.115, allocations: 6.477 MB / 0.9581 GB, free: 4.613 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001612/1.116, allocations: 25.91 kB / 0.9581 GB, free: 4.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00127/1.118, allocations: 276.4 kB / 0.9584 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004748/1.122, allocations: 1.053 MB / 0.9594 GB, free: 4.246 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003849/1.126, allocations: 0.839 MB / 0.9602 GB, free: 4.133 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004367/1.131, allocations: 2.27 MB / 0.9624 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001138/1.132, allocations: 0.4954 MB / 0.9629 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002153/1.134, allocations: 0.6902 MB / 0.9636 GB, free: 3.578 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001397/1.135, allocations: 0.5649 MB / 0.9641 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001264/1.135, allocations: 30.38 kB / 0.9642 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004316/1.14, allocations: 1.131 MB / 0.9653 GB, free: 3.359 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005202/1.14, allocations: 247.2 kB / 0.9655 GB, free: 3.332 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005582/1.141, allocations: 179.2 kB / 0.9657 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.003206/1.144, allocations: 1.142 MB / 0.9668 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.658e-06/1.144, allocations: 0 / 0.9668 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of FrontEnd: time 4.599e-06/1.144, allocations: 1.062 kB / 0.9668 GB, free: 3.18 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.659e-05/1.144, allocations: 0 / 0.9668 GB, free: 3.18 MB / 0.7169 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.002905/1.147, allocations: 1.03 MB / 0.9678 GB, free: 18.5 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.674e-05/1.147, allocations: 9.844 kB / 0.9678 GB, free: 18.5 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001481/1.147, allocations: 99.53 kB / 0.9679 GB, free: 18.46 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002017/1.149, allocations: 270.8 kB / 0.9682 GB, free: 18.42 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001236/1.151, allocations: 0.5522 MB / 0.9687 GB, free: 18.14 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.257e-05/1.151, allocations: 43.25 kB / 0.9687 GB, free: 18.14 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/1.151, allocations: 60.83 kB / 0.9688 GB, free: 18.14 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001426/1.152, allocations: 0.6385 MB / 0.9694 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.378e-05/1.152, allocations: 0 / 0.9694 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.218e-05/1.152, allocations: 20.38 kB / 0.9694 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.774e-05/1.152, allocations: 19.19 kB / 0.9695 GB, free: 18.05 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00113/1.154, allocations: 0.5293 MB / 0.97 GB, free: 18.04 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.003794/1.157, allocations: 2.451 MB / 0.9724 GB, free: 16.68 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006924/1.158, allocations: 383.8 kB / 0.9727 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004569/1.158, allocations: 238.9 kB / 0.973 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006358/1.159, allocations: 321.3 kB / 0.9733 GB, free: 16.35 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.456e-05/1.159, allocations: 38.06 kB / 0.9733 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=39): time 2.745e-06/1.159, allocations: 3.125 kB / 0.9733 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39): time 0.001611/1.161, allocations: 0.6302 MB / 0.9739 GB, free: 16.23 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.873e-05/1.161, allocations: 61.64 kB / 0.974 GB, free: 16.16 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006673/1.162, allocations: 0.4894 MB / 0.9745 GB, free: 16.04 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.051e-05/1.162, allocations: 35.52 kB / 0.9745 GB, free: 16.01 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002513/1.162, allocations: 319 kB / 0.9748 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001214/1.162, allocations: 138.8 kB / 0.9749 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-05/1.162, allocations: 13.5 kB / 0.975 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001819/1.162, allocations: 365.8 kB / 0.9753 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002834/1.163, allocations: 165.2 kB / 0.9755 GB, free: 15.45 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003637/1.163, allocations: 293 kB / 0.9757 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003602/1.163, allocations: 220.7 kB / 0.9759 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/1.163, allocations: 0 / 0.9759 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008634/1.164, allocations: 0.5214 MB / 0.9765 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001163/1.164, allocations: 152.4 kB / 0.9766 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/1.164, allocations: 3.344 kB / 0.9766 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.421e-05/1.164, allocations: 12.48 kB / 0.9766 GB, free: 15.07 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007169/1.165, allocations: 142.9 kB / 0.9768 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004009/1.165, allocations: 0.5936 MB / 0.9773 GB, free: 14.47 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007429/1.166, allocations: 79.3 kB / 0.9774 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.453e-05/1.166, allocations: 18.56 kB / 0.9774 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.256e-06/1.166, allocations: 3.094 kB / 0.9774 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007983/1.167, allocations: 468.3 kB / 0.9779 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.946e-06/1.167, allocations: 0 / 0.9779 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.951e-06/1.167, allocations: 7.094 kB / 0.9779 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004635/1.168, allocations: 129 kB / 0.978 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/1.168, allocations: 7.422 kB / 0.978 GB, free: 14.4 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005245/1.168, allocations: 76 kB / 0.9781 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.688e-05/1.168, allocations: 18.27 kB / 0.9781 GB, free: 14.38 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 (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.0004956/1.169, allocations: 302.9 kB / 0.9784 GB, free: 14.18 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001158/1.169, allocations: 66.12 kB / 0.9785 GB, free: 14.15 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/1.17, allocations: 485.9 kB / 0.9789 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/1.17, allocations: 7.266 kB / 0.9789 GB, free: 14.04 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/1.17, allocations: 3.953 kB / 0.9789 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009641/1.171, allocations: 0.7137 MB / 0.9796 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002046/1.173, allocations: 1.283 MB / 0.9809 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/1.173, allocations: 224 / 0.9809 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005955/1.174, allocations: 144.8 kB / 0.981 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.995e-06/1.174, allocations: 5.125 kB / 0.981 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.464e-05/1.174, allocations: 16.42 kB / 0.981 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003388/1.174, allocations: 0.5913 MB / 0.9816 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.174, allocations: 1.938 kB / 0.9816 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001148/1.175, allocations: 0.8352 MB / 0.9824 GB, free: 11.98 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002526/1.175, allocations: 187.8 kB / 0.9826 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.929e-05/1.176, allocations: 9.438 kB / 0.9826 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004371/1.176, allocations: 48.27 kB / 0.9827 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.374e-05/1.176, allocations: 32.73 kB / 0.9827 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.884e-05/1.176, allocations: 20.97 kB / 0.9827 GB, free: 11.79 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004072/1.177, allocations: 345.7 kB / 0.983 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/1.177, allocations: 0 / 0.983 GB, free: 11.66 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001136/1.178, allocations: 369.3 kB / 0.9834 GB, free: 11.6 MB / 0.7325 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 (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.001977/1.18, allocations: 1.472 MB / 0.9848 GB, free: 10.72 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001451/1.181, allocations: 0.6756 MB / 0.9855 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/1.181, allocations: 0 / 0.9855 GB, free: 10.59 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003819/1.182, allocations: 236.9 kB / 0.9857 GB, free: 10.54 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001683/1.183, allocations: 363.5 kB / 0.9861 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006113/1.189, allocations: 3.822 MB / 0.9898 GB, free: 8.523 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005623/1.19, allocations: 0.9466 MB / 0.9907 GB, free: 7.719 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008653/1.191, allocations: 205.6 kB / 0.9909 GB, free: 7.625 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003212/1.191, allocations: 224.1 kB / 0.9911 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of SimCode: time 1.643e-06/1.191, allocations: 0 / 0.9911 GB, free: 7.598 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04147/1.233, allocations: 17.5 MB / 1.008 GB, free: 15.23 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002176/1.233, allocations: 248.3 kB / 1.008 GB, free: 14.99 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.283/3.516, allocations: 0 / 1.008 GB, free: 14.99 MB / 0.7481 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Sensors_Examples_Density.fmu > Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1) Environment - environmentSimulation: