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: translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.Density") translateModel(Buildings.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.Density") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.008844/0.008844, allocations: 170.4 kB / 16.27 MB, free: 6.656 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.539/1.539, allocations: 205.4 MB / 222.5 MB, free: 5.805 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.751/1.751, allocations: 292.7 MB / 0.5502 GB, free: 14.5 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.0007871/0.0007873, allocations: 23.64 kB / 0.6743 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2622/0.263, allocations: 116.3 MB / 0.7879 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Density): time 0.8386/1.102, allocations: 180.4 MB / 0.964 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01234/1.114, allocations: 6.935 MB / 0.9708 GB, free: 15.15 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001798/1.116, allocations: 20.69 kB / 0.9708 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.00173/1.118, allocations: 338.7 kB / 0.9712 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.005707/1.123, allocations: 1.362 MB / 0.9725 GB, free: 14.76 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004487/1.128, allocations: 1.044 MB / 0.9735 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.006439/1.134, allocations: 2.704 MB / 0.9761 GB, free: 14.34 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001346/1.136, allocations: 0.5502 MB / 0.9767 GB, free: 14.22 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002287/1.138, allocations: 0.7035 MB / 0.9774 GB, free: 14.03 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001653/1.14, allocations: 0.5969 MB / 0.978 GB, free: 13.9 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001031/1.14, allocations: 32.66 kB / 0.978 GB, free: 13.89 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005415/1.145, allocations: 2.191 MB / 0.9801 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0004079/1.146, allocations: 249.7 kB / 0.9804 GB, free: 13.15 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0007152/1.146, allocations: 409.7 kB / 0.9808 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003663/1.15, allocations: 1.814 MB / 0.9825 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.15, allocations: 0 / 0.9825 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.374e-06/1.15, allocations: 0 / 0.9825 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.343e-05/1.15, allocations: 0 / 0.9825 GB, free: 12.37 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.00193/1.152, allocations: 1.011 MB / 0.9835 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.567e-05/1.152, allocations: 9.344 kB / 0.9835 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001918/1.154, allocations: 272.8 kB / 0.9838 GB, free: 11.51 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009355/1.155, allocations: 0.5756 MB / 0.9843 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.756e-05/1.155, allocations: 42.38 kB / 0.9844 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.976e-05/1.155, allocations: 59.28 kB / 0.9844 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001221/1.156, allocations: 0.6457 MB / 0.9851 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.645e-05/1.156, allocations: 5.641 kB / 0.9851 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.048e-05/1.157, allocations: 20.25 kB / 0.9851 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.499e-05/1.157, allocations: 19.31 kB / 0.9851 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009814/1.158, allocations: 0.5269 MB / 0.9856 GB, free: 10.64 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.003311/1.161, allocations: 2.452 MB / 0.988 GB, free: 8.516 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006245/1.162, allocations: 386.7 kB / 0.9884 GB, free: 8.316 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003858/1.162, allocations: 243.9 kB / 0.9886 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005941/1.163, allocations: 325 kB / 0.9889 GB, free: 7.887 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.22e-05/1.163, allocations: 38.56 kB / 0.989 GB, free: 7.84 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=39): time 2.685e-06/1.163, allocations: 1.75 kB / 0.989 GB, free: 7.84 MB / 0.7325 GB Notification: Performance of matching and sorting (n=39): time 0.001398/1.164, allocations: 0.628 MB / 0.9896 GB, free: 7.531 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.046e-05/1.164, allocations: 56.25 kB / 0.9896 GB, free: 7.469 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005568/1.165, allocations: 0.4909 MB / 0.9901 GB, free: 7.172 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 4.529e-05/1.165, allocations: 36.61 kB / 0.9902 GB, free: 7.133 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002318/1.165, allocations: 318.5 kB / 0.9905 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001406/1.165, allocations: 140.4 kB / 0.9906 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.305e-05/1.165, allocations: 42.95 kB / 0.9906 GB, free: 6.699 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001664/1.165, allocations: 370 kB / 0.991 GB, free: 6.344 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003197/1.166, allocations: 174.5 kB / 0.9912 GB, free: 6.262 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004144/1.166, allocations: 291.5 kB / 0.9914 GB, free: 6.051 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007239/1.167, allocations: 465.6 kB / 0.9919 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/1.167, allocations: 0 / 0.9919 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009099/1.168, allocations: 0.542 MB / 0.9924 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001126/1.168, allocations: 152.3 kB / 0.9925 GB, free: 5.312 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.508e-06/1.168, allocations: 7.281 kB / 0.9926 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/1.168, allocations: 2.938 kB / 0.9926 GB, free: 5.309 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007524/1.169, allocations: 140.6 kB / 0.9927 GB, free: 5.273 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004228/1.169, allocations: 0.5926 MB / 0.9933 GB, free: 4.676 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007152/1.17, allocations: 84.05 kB / 0.9933 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-05/1.17, allocations: 21.8 kB / 0.9934 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 8.306e-06/1.17, allocations: 2.844 kB / 0.9934 GB, free: 4.621 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008092/1.171, allocations: 461.6 kB / 0.9938 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/1.171, allocations: 5.25 kB / 0.9938 GB, free: 4.406 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.057e-06/1.171, allocations: 8.984 kB / 0.9938 GB, free: 4.402 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004869/1.171, allocations: 127.7 kB / 0.9939 GB, free: 4.371 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.656e-06/1.171, allocations: 9.812 kB / 0.994 GB, free: 4.367 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005466/1.172, allocations: 76.39 kB / 0.994 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.112e-05/1.172, allocations: 14 kB / 0.994 GB, free: 4.324 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.0003786/1.172, allocations: 310.2 kB / 0.9943 GB, free: 4.059 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001025/1.172, allocations: 58.78 kB / 0.9944 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009129/1.173, allocations: 498.4 kB / 0.9949 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.442e-06/1.173, allocations: 2.906 kB / 0.9949 GB, free: 3.746 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/1.173, allocations: 6.844 kB / 0.9949 GB, free: 3.742 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009198/1.174, allocations: 0.705 MB / 0.9956 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002001/1.176, allocations: 1.286 MB / 0.9968 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/1.176, allocations: 4.219 kB / 0.9968 GB, free: 2.219 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006075/1.177, allocations: 133.5 kB / 0.997 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.177e-06/1.177, allocations: 5.312 kB / 0.997 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.841e-05/1.177, allocations: 11.7 kB / 0.997 GB, free: 2.184 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003578/1.177, allocations: 0.6018 MB / 0.9976 GB, free: 1.574 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/1.177, allocations: 6.719 kB / 0.9976 GB, free: 1.57 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001295/1.179, allocations: 0.8376 MB / 0.9984 GB, free: 1.043 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002692/1.179, allocations: 185.3 kB / 0.9986 GB, free: 0.875 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.762e-05/1.179, allocations: 14.61 kB / 0.9986 GB, free: 0.8633 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005144/1.179, allocations: 54.69 kB / 0.9986 GB, free: 0.8398 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.064e-05/1.18, allocations: 29.73 kB / 0.9987 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.133e-05/1.18, allocations: 10.88 kB / 0.9987 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0004337/1.18, allocations: 349.4 kB / 0.999 GB, free: 0.6172 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.31e-07/1.18, allocations: 3.938 kB / 0.999 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001112/1.181, allocations: 366.9 kB / 0.9994 GB, free: 0.5391 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 (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.0005754/1.182, allocations: 194.3 kB / 0.9995 GB, free: 420 kB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001503/1.183, allocations: 0.6903 MB / 1 GB, free: 108 kB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/1.183, allocations: 4.062 kB / 1 GB, free: 104 kB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004187/1.184, allocations: 226.5 kB / 1 GB, free: 4 kB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001985/1.186, allocations: 376.7 kB / 1.001 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002858/1.189, allocations: 1.714 MB / 1.002 GB, free: 14.55 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000688/1.189, allocations: 0.9418 MB / 1.003 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0008862/1.19, allocations: 209.7 kB / 1.004 GB, free: 13.64 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000158/1.19, allocations: 56.8 kB / 1.004 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of SimCode: time 2.51e-07/1.19, allocations: 0 / 1.004 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of Templates: time 0.02363/1.214, allocations: 11.89 MB / 1.015 GB, free: 7.816 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.Density.makefile Environment - environmentSimulation: (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 & ./Buildings_8_Buildings.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.Density.pipe 2>&1) Environment - environmentSimulation: