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.0009967/0.0009967, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001029/0.001029, allocations: 177.3 kB / 15.94 MB, free: 228 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.475/1.475, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.065/1.065, allocations: 143.3 MB / 434.3 MB, free: 13.74 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004342/0.0004345, allocations: 12 kB / 0.5159 GB, free: 11.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2183/0.2187, allocations: 83.41 MB / 0.5973 GB, free: 7.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density): time 0.5752/0.794, allocations: 154 MB / 0.7478 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01048/0.8045, allocations: 6.518 MB / 0.7541 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001067/0.8056, allocations: 27.81 kB / 0.7541 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001294/0.8069, allocations: 425.6 kB / 0.7545 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00412/0.811, allocations: 1.319 MB / 0.7558 GB, free: 9.797 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003112/0.8141, allocations: 1.036 MB / 0.7568 GB, free: 8.777 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002074/0.8162, allocations: 1.128 MB / 0.758 GB, free: 7.648 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000711/0.8169, allocations: 0.4962 MB / 0.7584 GB, free: 7.141 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001229/0.8182, allocations: 0.6152 MB / 0.759 GB, free: 6.523 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004852/0.8187, allocations: 386.5 kB / 0.7594 GB, free: 6.145 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.112e-05/0.8188, allocations: 28 kB / 0.7594 GB, free: 6.117 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002035/0.8208, allocations: 0.8814 MB / 0.7603 GB, free: 5.234 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002362/0.8211, allocations: 227.4 kB / 0.7605 GB, free: 5.012 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.000173/0.8212, allocations: 181.3 kB / 0.7607 GB, free: 4.828 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001194/0.8224, allocations: 1.056 MB / 0.7617 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.8225, allocations: 0 / 0.7617 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.094e-06/0.8225, allocations: 0 / 0.7617 GB, free: 3.777 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.897e-06/0.8225, allocations: 4 kB / 0.7617 GB, free: 3.773 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.00152/0.824, allocations: 0.9815 MB / 0.7627 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.731e-05/0.824, allocations: 12.03 kB / 0.7627 GB, free: 2.734 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001181/0.8242, allocations: 94.52 kB / 0.7628 GB, free: 2.633 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001726/0.8259, allocations: 278.8 kB / 0.763 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008963/0.8268, allocations: 0.5679 MB / 0.7636 GB, free: 1.754 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.48e-05/0.8269, allocations: 41.31 kB / 0.7636 GB, free: 1.711 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.739e-05/0.827, allocations: 56 kB / 0.7637 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009598/0.8279, allocations: 0.6245 MB / 0.7643 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.604e-05/0.8279, allocations: 0 / 0.7643 GB, free: 1.016 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.313e-05/0.828, allocations: 24 kB / 0.7643 GB, free: 0.9922 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.702e-05/0.828, allocations: 21.31 kB / 0.7643 GB, free: 0.9727 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008649/0.8289, allocations: 0.5288 MB / 0.7649 GB, free: 456 kB / 0.5762 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.002891/0.8318, allocations: 2.457 MB / 0.7673 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006297/0.8325, allocations: 380.4 kB / 0.7676 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003624/0.8328, allocations: 141.4 kB / 0.7678 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.654e-05/0.8329, allocations: 38.89 kB / 0.7678 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=39): time 1.523e-06/0.8329, allocations: 0 / 0.7678 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39): time 0.001328/0.8342, allocations: 0.6322 MB / 0.7684 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.994e-05/0.8343, allocations: 59.34 kB / 0.7685 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005363/0.8348, allocations: 0.4912 MB / 0.7689 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.994e-05/0.8349, allocations: 37.7 kB / 0.769 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002211/0.8351, allocations: 328.4 kB / 0.7693 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001181/0.8352, allocations: 134 kB / 0.7694 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.304e-05/0.8352, allocations: 12 kB / 0.7694 GB, free: 11.47 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001508/0.8354, allocations: 366.7 kB / 0.7698 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003181/0.8357, allocations: 168.8 kB / 0.7699 GB, free: 10.94 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004114/0.8361, allocations: 283.4 kB / 0.7702 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003577/0.8365, allocations: 216.9 kB / 0.7704 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.8365, allocations: 0 / 0.7704 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008487/0.8374, allocations: 0.5325 MB / 0.7709 GB, free: 9.871 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003883/0.8378, allocations: 0.8732 MB / 0.7718 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.318e-06/0.8378, allocations: 12.44 kB / 0.7718 GB, free: 8.918 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.508e-05/0.8378, allocations: 4 kB / 0.7718 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000693/0.8385, allocations: 135.8 kB / 0.7719 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003702/0.8389, allocations: 0.6015 MB / 0.7725 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006152/0.8395, allocations: 88.64 kB / 0.7726 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.249e-05/0.8396, allocations: 20 kB / 0.7726 GB, free: 8.051 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 8.385e-06/0.8396, allocations: 4 kB / 0.7726 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007771/0.8404, allocations: 459.9 kB / 0.7731 GB, free: 7.598 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.581e-05/0.8404, allocations: 4 kB / 0.7731 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.941e-06/0.8404, allocations: 4 kB / 0.7731 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004876/0.8409, allocations: 132.6 kB / 0.7732 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.972e-06/0.8409, allocations: 4 kB / 0.7732 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005312/0.8415, allocations: 79.62 kB / 0.7733 GB, free: 7.379 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.603e-05/0.8415, allocations: 24.72 kB / 0.7733 GB, free: 7.355 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 (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.0003679/0.8419, allocations: 314.6 kB / 0.7736 GB, free: 7.039 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.876e-05/0.842, allocations: 63.89 kB / 0.7737 GB, free: 6.977 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000871/0.8429, allocations: 487.3 kB / 0.7741 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.382e-06/0.8429, allocations: 4 kB / 0.7741 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.8429, allocations: 0 / 0.7741 GB, free: 6.488 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008054/0.8437, allocations: 0.7189 MB / 0.7748 GB, free: 5.684 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001879/0.8456, allocations: 1.284 MB / 0.7761 GB, free: 4.32 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.462e-06/0.8456, allocations: 6.219 kB / 0.7761 GB, free: 4.316 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006038/0.8462, allocations: 135.8 kB / 0.7762 GB, free: 4.184 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.951e-06/0.8462, allocations: 4 kB / 0.7762 GB, free: 4.18 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.461e-05/0.8463, allocations: 8 kB / 0.7762 GB, free: 4.172 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003348/0.8466, allocations: 0.6015 MB / 0.7768 GB, free: 3.547 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.509e-06/0.8466, allocations: 4.031 kB / 0.7768 GB, free: 3.543 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/0.8479, allocations: 0.8946 MB / 0.7777 GB, free: 2.57 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002826/0.8482, allocations: 188.2 kB / 0.7779 GB, free: 2.367 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.713e-05/0.8483, allocations: 12 kB / 0.7779 GB, free: 2.355 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000488/0.8488, allocations: 55.83 kB / 0.778 GB, free: 2.301 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.103e-05/0.8488, allocations: 27.91 kB / 0.778 GB, free: 2.273 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.828e-05/0.8489, allocations: 19.98 kB / 0.778 GB, free: 2.254 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003655/0.8493, allocations: 346.8 kB / 0.7783 GB, free: 1.918 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8493, allocations: 0 / 0.7783 GB, free: 1.918 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009328/0.8502, allocations: 359.1 kB / 0.7787 GB, free: 1.566 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 (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.001997/0.8522, allocations: 2.033 MB / 0.7807 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001415/0.8536, allocations: 0.668 MB / 0.7813 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.448e-06/0.8537, allocations: 0 / 0.7813 GB, free: 14.8 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000417/0.8541, allocations: 224.6 kB / 0.7815 GB, free: 14.59 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001573/0.8557, allocations: 350.3 kB / 0.7819 GB, free: 14.25 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006295/0.862, allocations: 5.193 MB / 0.7869 GB, free: 8.973 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005806/0.8626, allocations: 0.9611 MB / 0.7879 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0007865/0.8634, allocations: 206.3 kB / 0.7881 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003178/0.8637, allocations: 227.3 kB / 0.7883 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of SimCode: time 1.333e-06/0.8637, allocations: 0 / 0.7883 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03461/0.8983, allocations: 17.55 MB / 0.8054 GB, free: 6.391 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002817/0.8987, allocations: 254.1 kB / 0.8057 GB, free: 6.078 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.273/3.171, allocations: 0 / 0.8057 GB, free: 6.078 MB / 0.6231 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: