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: translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density") translateModel(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001251/0.001251, allocations: 100.1 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.001494/0.001494, allocations: 177.3 kB / 15.95 MB, free: 216 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.325/1.325, allocations: 223.2 MB / 239.9 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9624/0.9624, allocations: 143.3 MB / 434.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002992/0.0002995, allocations: 16 kB / 0.5158 GB, free: 11.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1415/0.1418, allocations: 83.4 MB / 0.5973 GB, free: 7.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density): time 0.3958/0.5376, allocations: 154 MB / 0.7477 GB, free: 1.086 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.009256/0.5469, allocations: 6.525 MB / 0.7541 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008737/0.5478, allocations: 23.81 kB / 0.7541 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001333/0.5491, allocations: 421.2 kB / 0.7545 GB, free: 10.85 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004218/0.5534, allocations: 1.313 MB / 0.7558 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003106/0.5565, allocations: 1.039 MB / 0.7568 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.001982/0.5585, allocations: 1.134 MB / 0.7579 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006665/0.5592, allocations: 0.4894 MB / 0.7584 GB, free: 7.125 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001122/0.5603, allocations: 0.6191 MB / 0.759 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004771/0.5608, allocations: 378.5 kB / 0.7593 GB, free: 6.133 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 6.523e-05/0.5609, allocations: 32 kB / 0.7594 GB, free: 6.102 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001967/0.5628, allocations: 0.8814 MB / 0.7602 GB, free: 5.219 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002275/0.5631, allocations: 227.3 kB / 0.7604 GB, free: 4.996 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001654/0.5633, allocations: 177.3 kB / 0.7606 GB, free: 4.816 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.001194/0.5645, allocations: 1.053 MB / 0.7616 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.5645, allocations: 0 / 0.7616 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.253e-06/0.5645, allocations: 0 / 0.7616 GB, free: 3.762 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.381e-05/0.5645, allocations: 0 / 0.7616 GB, free: 3.762 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.001528/0.566, allocations: 0.9891 MB / 0.7626 GB, free: 2.727 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.491e-05/0.5661, allocations: 12.03 kB / 0.7626 GB, free: 2.715 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001832/0.5679, allocations: 270.8 kB / 0.7629 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009082/0.5688, allocations: 0.5646 MB / 0.7634 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.168e-05/0.5689, allocations: 49.3 kB / 0.7635 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-05/0.569, allocations: 52 kB / 0.7635 GB, free: 1.746 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.57, allocations: 0.6284 MB / 0.7641 GB, free: 1.102 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.823e-05/0.57, allocations: 7.984 kB / 0.7641 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.262e-05/0.5701, allocations: 20 kB / 0.7642 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.653e-05/0.5701, allocations: 25.23 kB / 0.7642 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000907/0.571, allocations: 0.536 MB / 0.7647 GB, free: 0.5156 MB / 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.002929/0.574, allocations: 2.451 MB / 0.7671 GB, free: 13.84 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007252/0.5747, allocations: 384.4 kB / 0.7675 GB, free: 13.46 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004042/0.5751, allocations: 133.4 kB / 0.7676 GB, free: 13.31 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.17e-05/0.5752, allocations: 38.89 kB / 0.7676 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=39): time 2.154e-06/0.5752, allocations: 4 kB / 0.7676 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39): time 0.001429/0.5766, allocations: 0.6362 MB / 0.7683 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.5767, allocations: 59.34 kB / 0.7683 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005308/0.5772, allocations: 495 kB / 0.7688 GB, free: 12.06 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.097e-05/0.5772, allocations: 33.7 kB / 0.7688 GB, free: 12.02 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002061/0.5775, allocations: 332.4 kB / 0.7691 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.000111/0.5776, allocations: 130 kB / 0.7693 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.33e-05/0.5776, allocations: 12 kB / 0.7693 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001314/0.5777, allocations: 370.7 kB / 0.7696 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003104/0.5781, allocations: 172.8 kB / 0.7698 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003901/0.5785, allocations: 283.4 kB / 0.7701 GB, free: 10.7 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003588/0.5788, allocations: 208.9 kB / 0.7703 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.5788, allocations: 0 / 0.7703 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0008595/0.5797, allocations: 0.5363 MB / 0.7708 GB, free: 9.953 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002926/0.58, allocations: 0.8817 MB / 0.7716 GB, free: 9.004 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.58, allocations: 0 / 0.7716 GB, free: 9.004 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.58, allocations: 4 kB / 0.7716 GB, free: 9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000707/0.5808, allocations: 143.8 kB / 0.7718 GB, free: 8.859 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003378/0.5811, allocations: 0.5982 MB / 0.7724 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006269/0.5817, allocations: 87.56 kB / 0.7724 GB, free: 8.152 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.019e-05/0.5818, allocations: 20.5 kB / 0.7725 GB, free: 8.133 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 7.494e-06/0.5818, allocations: 4 kB / 0.7725 GB, free: 8.129 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007667/0.5826, allocations: 460.1 kB / 0.7729 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.298e-06/0.5826, allocations: 4 kB / 0.7729 GB, free: 7.676 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.59e-06/0.5826, allocations: 4 kB / 0.7729 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005073/0.5831, allocations: 128.9 kB / 0.773 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.5831, allocations: 13.17 kB / 0.7731 GB, free: 7.535 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005407/0.5837, allocations: 79.7 kB / 0.7731 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.939e-05/0.5837, allocations: 20 kB / 0.7731 GB, free: 7.438 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.0003136/0.5841, allocations: 313.6 kB / 0.7734 GB, free: 7.121 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.986e-05/0.5842, allocations: 63.2 kB / 0.7735 GB, free: 7.059 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008482/0.585, allocations: 493.8 kB / 0.774 GB, free: 6.57 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.585, allocations: 4 kB / 0.774 GB, free: 6.566 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.585, allocations: 4 kB / 0.774 GB, free: 6.562 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000775/0.5858, allocations: 0.7072 MB / 0.7747 GB, free: 5.77 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001892/0.5877, allocations: 1.292 MB / 0.7759 GB, free: 4.398 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.5877, allocations: 0 / 0.7759 GB, free: 4.398 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006235/0.5884, allocations: 136.1 kB / 0.7761 GB, free: 4.266 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.516e-06/0.5884, allocations: 4 kB / 0.7761 GB, free: 4.262 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.039e-05/0.5884, allocations: 11.94 kB / 0.7761 GB, free: 4.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000282/0.5887, allocations: 0.6015 MB / 0.7767 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.245e-06/0.5887, allocations: 0 / 0.7767 GB, free: 3.625 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001184/0.5899, allocations: 0.8986 MB / 0.7775 GB, free: 2.648 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002514/0.5902, allocations: 184.2 kB / 0.7777 GB, free: 2.449 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.045e-05/0.5903, allocations: 12 kB / 0.7777 GB, free: 2.438 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004851/0.5908, allocations: 51.89 kB / 0.7778 GB, free: 2.387 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.263e-05/0.5908, allocations: 35.83 kB / 0.7778 GB, free: 2.352 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.122e-05/0.5909, allocations: 12 kB / 0.7778 GB, free: 2.34 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0003633/0.5912, allocations: 346.8 kB / 0.7782 GB, free: 2.004 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.5e-07/0.5913, allocations: 4 kB / 0.7782 GB, free: 2 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009126/0.5922, allocations: 363.1 kB / 0.7785 GB, free: 1.645 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.00043/0.5926, allocations: 208.5 kB / 0.7787 GB, free: 1.441 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001357/0.594, allocations: 0.6721 MB / 0.7794 GB, free: 0.7695 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.594, allocations: 3.938 kB / 0.7794 GB, free: 0.7656 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004059/0.5944, allocations: 220.6 kB / 0.7796 GB, free: 0.5508 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001604/0.596, allocations: 357.7 kB / 0.7799 GB, free: 216 kB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002169/0.5982, allocations: 1.731 MB / 0.7816 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004648/0.5987, allocations: 0.9613 MB / 0.7826 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006448/0.5993, allocations: 214.8 kB / 0.7828 GB, free: 13.25 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001281/0.5995, allocations: 51.44 kB / 0.7828 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of SimCode: time 6.62e-07/0.5995, allocations: 0 / 0.7828 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of Templates: time 0.01801/0.6175, allocations: 11.55 MB / 0.7941 GB, free: 1.871 MB / 0.6075 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density.makefile Environment - environmentSimulation: (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 & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density.pipe 2>&1) Environment - environmentSimulation: