Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_Density",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density,fileNamePrefix="BuildSysPro_BuildSysPro_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.0008153/0.0008153, allocations: 91.61 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.0007922/0.0007924, 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 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 223.3 MB / 240 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.015/1.015, allocations: 143.4 MB / 434.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003397/0.0003398, allocations: 8 kB / 0.5161 GB, free: 11.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1714, allocations: 83.42 MB / 0.5975 GB, free: 7.688 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density): time 0.5305/0.702, allocations: 168.4 MB / 0.762 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.009484/0.7115, allocations: 6.516 MB / 0.7683 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001231/0.7128, allocations: 23.88 kB / 0.7683 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001022/0.7138, allocations: 270.2 kB / 0.7686 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003354/0.7172, allocations: 1.061 MB / 0.7696 GB, free: 11.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002497/0.7197, allocations: 0.8348 MB / 0.7704 GB, free: 11 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002613/0.7223, allocations: 2.299 MB / 0.7727 GB, free: 8.691 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006831/0.723, allocations: 496 kB / 0.7732 GB, free: 8.195 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001291/0.7243, allocations: 0.6847 MB / 0.7738 GB, free: 7.508 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008613/0.7252, allocations: 0.572 MB / 0.7744 GB, free: 6.934 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.645e-05/0.7252, allocations: 32 kB / 0.7744 GB, free: 6.902 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002737/0.728, allocations: 1.134 MB / 0.7755 GB, free: 5.766 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002732/0.7283, allocations: 251.2 kB / 0.7758 GB, free: 5.52 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002052/0.7285, allocations: 177.3 kB / 0.7759 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001481/0.73, allocations: 1.189 MB / 0.7771 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.73, allocations: 0 / 0.7771 GB, free: 4.148 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.944e-06/0.73, allocations: 4 kB / 0.7771 GB, free: 4.145 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 8.877e-06/0.73, allocations: 0 / 0.7771 GB, free: 4.145 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.001623/0.7317, allocations: 1.028 MB / 0.7781 GB, free: 3.07 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.221e-05/0.7317, allocations: 8.031 kB / 0.7781 GB, free: 3.062 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001153/0.7318, allocations: 102.5 kB / 0.7782 GB, free: 2.953 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001746/0.7336, allocations: 266.8 kB / 0.7785 GB, free: 2.691 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000835/0.7344, allocations: 0.5602 MB / 0.779 GB, free: 2.094 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.779e-05/0.7345, allocations: 45.31 kB / 0.7791 GB, free: 2.047 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.225e-05/0.7346, allocations: 52 kB / 0.7791 GB, free: 1.996 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001028/0.7356, allocations: 0.6401 MB / 0.7797 GB, free: 1.34 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.785e-05/0.7356, allocations: 0 / 0.7797 GB, free: 1.34 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.16e-05/0.7357, allocations: 20 kB / 0.7798 GB, free: 1.32 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.957e-05/0.7357, allocations: 29.3 kB / 0.7798 GB, free: 1.293 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009219/0.7366, allocations: 0.5204 MB / 0.7803 GB, free: 0.7734 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.002823/0.7395, allocations: 2.461 MB / 0.7827 GB, free: 14.09 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006261/0.7401, allocations: 368.2 kB / 0.783 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003641/0.7405, allocations: 237.4 kB / 0.7833 GB, free: 13.49 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005437/0.7411, allocations: 323.5 kB / 0.7836 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.606e-05/0.7411, allocations: 39.39 kB / 0.7836 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=39): time 1.473e-06/0.7411, allocations: 0 / 0.7836 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of matching and sorting (n=39): time 0.001277/0.7424, allocations: 0.6345 MB / 0.7842 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.7424, allocations: 55.41 kB / 0.7843 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005357/0.743, allocations: 0.495 MB / 0.7848 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 3.836e-05/0.743, allocations: 33.7 kB / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002201/0.7433, allocations: 324.4 kB / 0.7851 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.7434, allocations: 141.9 kB / 0.7853 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/0.7434, allocations: 15.83 kB / 0.7853 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.7436, allocations: 366.8 kB / 0.7856 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00031/0.7439, allocations: 168.8 kB / 0.7858 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004029/0.7443, allocations: 291.3 kB / 0.7861 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003777/0.7447, allocations: 208.9 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.7447, allocations: 4 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008589/0.7456, allocations: 0.5324 MB / 0.7868 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 9.834e-05/0.7457, allocations: 153 kB / 0.7869 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.612e-06/0.7457, allocations: 0 / 0.7869 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.7457, allocations: 7.953 kB / 0.7869 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006789/0.7464, allocations: 148.3 kB / 0.7871 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003582/0.7468, allocations: 0.5899 MB / 0.7876 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005437/0.7473, allocations: 87.55 kB / 0.7877 GB, free: 8.711 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.797e-05/0.7474, allocations: 20 kB / 0.7878 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.434e-06/0.7474, allocations: 4.625 kB / 0.7878 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007507/0.7482, allocations: 464 kB / 0.7882 GB, free: 8.234 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.192e-06/0.7482, allocations: 4.5 kB / 0.7882 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.401e-06/0.7482, allocations: 4 kB / 0.7882 GB, free: 8.227 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004764/0.7487, allocations: 128 kB / 0.7883 GB, free: 8.102 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/0.7487, allocations: 11.92 kB / 0.7883 GB, free: 8.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004749/0.7492, allocations: 80.09 kB / 0.7884 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.456e-05/0.7492, allocations: 20 kB / 0.7884 GB, free: 7.992 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 (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.0003201/0.7496, allocations: 301 kB / 0.7887 GB, free: 7.688 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.253e-05/0.7497, allocations: 63.25 kB / 0.7888 GB, free: 7.625 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008786/0.7505, allocations: 491.5 kB / 0.7893 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.132e-06/0.7506, allocations: 4 kB / 0.7893 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.7506, allocations: 0 / 0.7893 GB, free: 7.133 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007983/0.7514, allocations: 0.716 MB / 0.79 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001835/0.7532, allocations: 1.293 MB / 0.7912 GB, free: 4.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.7532, allocations: 3.953 kB / 0.7912 GB, free: 4.957 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005803/0.7538, allocations: 144.8 kB / 0.7914 GB, free: 4.816 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.511e-06/0.7538, allocations: 4 kB / 0.7914 GB, free: 4.812 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.286e-05/0.7539, allocations: 8 kB / 0.7914 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002807/0.7542, allocations: 0.6023 MB / 0.792 GB, free: 4.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.7542, allocations: 4.031 kB / 0.792 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001091/0.7553, allocations: 0.8165 MB / 0.7928 GB, free: 3.324 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002108/0.7555, allocations: 184.3 kB / 0.7929 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.344e-05/0.7556, allocations: 12 kB / 0.7929 GB, free: 3.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004299/0.756, allocations: 51.95 kB / 0.793 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.835e-05/0.7561, allocations: 27.92 kB / 0.793 GB, free: 3.035 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.24e-05/0.7561, allocations: 19.11 kB / 0.793 GB, free: 3.02 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0003792/0.7565, allocations: 346.8 kB / 0.7934 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7565, allocations: 0 / 0.7934 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0009859/0.7575, allocations: 367 kB / 0.7937 GB, free: 2.324 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 (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.001761/0.7593, allocations: 1.461 MB / 0.7951 GB, free: 0.8242 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001337/0.7606, allocations: 0.6724 MB / 0.7958 GB, free: 156 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.797e-06/0.7607, allocations: 1 kB / 0.7958 GB, free: 156 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004109/0.7611, allocations: 228.1 kB / 0.796 GB, free: 15.93 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001544/0.7626, allocations: 361.1 kB / 0.7964 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005725/0.7684, allocations: 3.865 MB / 0.8001 GB, free: 11.64 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005429/0.7689, allocations: 0.9455 MB / 0.8011 GB, free: 10.67 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0007519/0.7697, allocations: 201 kB / 0.8013 GB, free: 10.47 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003148/0.77, allocations: 231.3 kB / 0.8015 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of SimCode: time 7.62e-07/0.77, allocations: 4 kB / 0.8015 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03559/0.8056, allocations: 17.57 MB / 0.8186 GB, free: 9.066 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002025/0.8059, allocations: 256.4 kB / 0.8189 GB, free: 8.727 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.087/2.893, allocations: 0 / 0.8189 GB, free: 8.727 MB / 0.6387 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_Density_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sensors_Examples_Density.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density.pipe 2>&1) Environment - environmentSimulation: