Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Sensors.Examples.Density,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.Density,fileNamePrefix="IBPSA_latest_IBPSA_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.001039/0.001039, allocations: 103.4 kB / 16.27 MB, free: 5.984 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.001039/0.001039, allocations: 189.4 kB / 17.2 MB, free: 5.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.339/1.339, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.761/0.761, allocations: 122.9 MB / 413.9 MB, free: 15.92 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002632/0.002632, allocations: 71.88 kB / 0.4912 GB, free: 7.348 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.396/0.3986, allocations: 77.92 MB / 0.5673 GB, free: 32.84 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Density): time 0.1962/0.5949, allocations: 185 MB / 0.748 GB, free: 1.168 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.3697/0.9646, allocations: 6.959 MB / 0.7548 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008778/0.9655, allocations: 30.5 kB / 0.7548 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001072/0.9666, allocations: 399.8 kB / 0.7552 GB, free: 1.812 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003676/0.9704, allocations: 1.447 MB / 0.7566 GB, free: 1.758 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00315/0.9736, allocations: 1.156 MB / 0.7577 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003078/0.9766, allocations: 1.947 MB / 0.7596 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001074/0.9777, allocations: 0.658 MB / 0.7603 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001796/0.9795, allocations: 0.8209 MB / 0.7611 GB, free: 1.652 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001552/0.9811, allocations: 0.6007 MB / 0.7616 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001639/0.9813, allocations: 69.16 kB / 0.7617 GB, free: 1.648 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004543/0.9858, allocations: 1.931 MB / 0.7636 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.00043/0.9863, allocations: 290.2 kB / 0.7639 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007187/0.987, allocations: 429.8 kB / 0.7643 GB, free: 1.629 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003488/0.9905, allocations: 1.751 MB / 0.766 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.9905, allocations: 0.7188 kB / 0.766 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.333e-06/0.9905, allocations: 0.9688 kB / 0.766 GB, free: 1.527 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.673e-05/0.9906, allocations: 0.75 kB / 0.766 GB, free: 1.527 MB / 0.5762 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.002057/0.9926, allocations: 1.165 MB / 0.7671 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.9927, allocations: 12.34 kB / 0.7671 GB, free: 16.84 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001036/0.9928, allocations: 96.09 kB / 0.7672 GB, free: 16.8 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001894/0.9947, allocations: 268.8 kB / 0.7675 GB, free: 16.77 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009116/0.9956, allocations: 0.5783 MB / 0.7681 GB, free: 16.48 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.883e-05/0.9957, allocations: 40.81 kB / 0.7681 GB, free: 16.48 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001021/0.9958, allocations: 56.66 kB / 0.7682 GB, free: 16.48 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001121/0.9969, allocations: 0.6378 MB / 0.7688 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.112e-05/0.9969, allocations: 1.156 kB / 0.7688 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.632e-05/0.997, allocations: 23.03 kB / 0.7688 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.556e-05/0.997, allocations: 19.09 kB / 0.7688 GB, free: 16.41 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001003/0.9981, allocations: 0.5256 MB / 0.7693 GB, free: 16.4 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.003273/1.001, allocations: 2.472 MB / 0.7717 GB, free: 15.08 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000666/1.002, allocations: 358.1 kB / 0.7721 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004037/1.002, allocations: 235.9 kB / 0.7723 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006229/1.003, allocations: 307.4 kB / 0.7726 GB, free: 14.77 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.625e-05/1.003, allocations: 38.92 kB / 0.7726 GB, free: 14.73 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=39): time 3.486e-06/1.003, allocations: 3.984 kB / 0.7726 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39): time 0.001575/1.005, allocations: 0.6252 MB / 0.7733 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.305e-05/1.005, allocations: 56.78 kB / 0.7733 GB, free: 14.58 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005756/1.005, allocations: 0.4887 MB / 0.7738 GB, free: 14.46 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 5.455e-05/1.005, allocations: 36.11 kB / 0.7738 GB, free: 14.43 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001956/1.006, allocations: 329.6 kB / 0.7741 GB, free: 14.27 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001128/1.006, allocations: 141.3 kB / 0.7743 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001366/1.006, allocations: 88.5 kB / 0.7744 GB, free: 14.16 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001598/1.006, allocations: 365.2 kB / 0.7747 GB, free: 13.85 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003209/1.006, allocations: 176.4 kB / 0.7749 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004006/1.007, allocations: 283.1 kB / 0.7751 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006869/1.007, allocations: 451.4 kB / 0.7756 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/1.007, allocations: 3.469 kB / 0.7756 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008521/1.008, allocations: 0.5289 MB / 0.7761 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/1.008, allocations: 8.719 kB / 0.7761 GB, free: 13.58 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/1.008, allocations: 7.406 kB / 0.7761 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.46e-05/1.008, allocations: 9.5 kB / 0.7761 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007136/1.009, allocations: 131.9 kB / 0.7762 GB, free: 13.57 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003961/1.01, allocations: 0.5917 MB / 0.7768 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006335/1.01, allocations: 51.11 kB / 0.7769 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.428e-05/1.01, allocations: 20.31 kB / 0.7769 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006559/1.011, allocations: 352.9 kB / 0.7772 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003841/1.011, allocations: 287.3 kB / 0.7775 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007324/1.012, allocations: 444.8 kB / 0.7779 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.926e-06/1.012, allocations: 3.375 kB / 0.7779 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0008404/1.013, allocations: 0.5298 MB / 0.7784 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.215e-05/1.013, allocations: 5.156 kB / 0.7784 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-06/1.013, allocations: 3 kB / 0.7785 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.783e-06/1.013, allocations: 4.219 kB / 0.7785 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004806/1.013, allocations: 122.5 kB / 0.7786 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/1.013, allocations: 5.625 kB / 0.7786 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005751/1.014, allocations: 37.91 kB / 0.7786 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.389e-05/1.014, allocations: 16.72 kB / 0.7786 GB, free: 12.6 MB / 0.5919 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.0002228/1.014, allocations: 211.8 kB / 0.7788 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001357/1.014, allocations: 63.56 kB / 0.7789 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008718/1.015, allocations: 487.1 kB / 0.7794 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/1.015, allocations: 3.188 kB / 0.7794 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/1.015, allocations: 0.8438 kB / 0.7794 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007612/1.016, allocations: 0.705 MB / 0.78 GB, free: 11.89 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002079/1.018, allocations: 1.283 MB / 0.7813 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.761e-06/1.018, allocations: 5.406 kB / 0.7813 GB, free: 11.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006296/1.019, allocations: 125.2 kB / 0.7814 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.244e-06/1.019, allocations: 3.594 kB / 0.7814 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.431e-05/1.019, allocations: 11.88 kB / 0.7814 GB, free: 11.51 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003084/1.019, allocations: 0.5979 MB / 0.782 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/1.019, allocations: 0.875 kB / 0.782 GB, free: 10.93 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001064/1.02, allocations: 0.7968 MB / 0.7828 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002768/1.021, allocations: 180 kB / 0.783 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001031/1.021, allocations: 15.7 kB / 0.783 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004543/1.021, allocations: 22.17 kB / 0.783 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/1.021, allocations: 26 kB / 0.783 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.693e-05/1.021, allocations: 14.58 kB / 0.7831 GB, free: 10.57 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0004241/1.022, allocations: 359.2 kB / 0.7834 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of sort global known variables: time 3.21e-07/1.022, allocations: 0 / 0.7834 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001172/1.023, allocations: 361.4 kB / 0.7837 GB, free: 10.43 MB / 0.5919 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.001712/1.025, allocations: 1.441 MB / 0.7851 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001453/1.026, allocations: 0.7165 MB / 0.7858 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/1.026, allocations: 1.031 kB / 0.7858 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000389/1.027, allocations: 217.4 kB / 0.7861 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/1.028, allocations: 368.6 kB / 0.7864 GB, free: 9.621 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009147/1.037, allocations: 5.138 MB / 0.7914 GB, free: 7.539 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006882/1.038, allocations: 0.947 MB / 0.7923 GB, free: 6.832 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009339/1.039, allocations: 203.9 kB / 0.7925 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003074/1.039, allocations: 225.9 kB / 0.7928 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of SimCode: time 9.82e-07/1.039, allocations: 2.656 kB / 0.7928 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05997/1.099, allocations: 17.69 MB / 0.81 GB, free: 1.727 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.14/13.24, allocations: 3.094 kB / 0.81 GB, free: 1.727 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Density.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.pipe 2>&1)