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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/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/BuildSysPro 3.5.0/package.mo): time 0.7089/0.7089, allocations: 128.7 MB / 144.5 MB, free: 1.395 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001145/0.001145, allocations: 186.8 kB / 174.3 MB, free: 5.918 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.634/1.634, allocations: 205.1 MB / 408.9 MB, free: 9.695 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009314/0.0009314, allocations: 106.2 kB / 485.1 MB, free: 13.55 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001026/0.001026, allocations: 58.89 kB / 0.558 GB, free: 97.51 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1224/0.1234, allocations: 75.48 MB / 0.6317 GB, free: 33.02 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density): time 0.4795/0.6029, allocations: 192.3 MB / 0.8195 GB, free: 9.621 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.00917/0.6121, allocations: 7.144 MB / 0.8265 GB, free: 8.23 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00137/0.6136, allocations: 27.12 kB / 0.8265 GB, free: 8.219 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.001131/0.6147, allocations: 342.6 kB / 0.8268 GB, free: 7.969 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.003821/0.6186, allocations: 1.366 MB / 0.8282 GB, free: 7.152 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.003166/0.6218, allocations: 1.049 MB / 0.8292 GB, free: 6.512 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.00334/0.6251, allocations: 2.882 MB / 0.832 GB, free: 5.031 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008498/0.626, allocations: 0.5789 MB / 0.8326 GB, free: 4.688 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001547/0.6276, allocations: 0.7603 MB / 0.8333 GB, free: 4.324 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001225/0.6288, allocations: 0.6312 MB / 0.8339 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 9.015e-05/0.6289, allocations: 38.41 kB / 0.834 GB, free: 4.023 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003748/0.6327, allocations: 2.061 MB / 0.836 GB, free: 3.027 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.000371/0.6331, allocations: 268.4 kB / 0.8362 GB, free: 2.863 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0005831/0.6336, allocations: 392.4 kB / 0.8366 GB, free: 2.641 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.003162/0.6368, allocations: 1.866 MB / 0.8384 GB, free: 1.578 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.6368, allocations: 0 / 0.8384 GB, free: 1.578 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.102e-06/0.6369, allocations: 4 kB / 0.8384 GB, free: 1.574 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.959e-06/0.6369, allocations: 2.281 kB / 0.8384 GB, free: 1.574 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 133 * Number of variables: 133 Notification: Performance of Generate backend data structure: time 0.001925/0.6388, allocations: 1.138 MB / 0.8396 GB, free: 0.6797 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.6388, allocations: 14.19 kB / 0.8396 GB, free: 0.6758 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001619/0.6405, allocations: 265.9 kB / 0.8398 GB, free: 0.5547 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009373/0.6414, allocations: 0.5665 MB / 0.8404 GB, free: 96 kB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.464e-05/0.6415, allocations: 43.56 kB / 0.8404 GB, free: 76 kB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.493e-05/0.6416, allocations: 53.91 kB / 0.8405 GB, free: 60 kB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00136/0.6429, allocations: 0.6757 MB / 0.8411 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.107e-05/0.643, allocations: 3.984 kB / 0.8411 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.349e-05/0.643, allocations: 24.66 kB / 0.8412 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.156e-05/0.6431, allocations: 19.38 kB / 0.8412 GB, free: 15.64 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001089/0.6442, allocations: 0.5573 MB / 0.8417 GB, free: 15.37 MB / 0.5417 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.002964/0.6471, allocations: 2.427 MB / 0.8441 GB, free: 13.25 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007913/0.648, allocations: 427.7 kB / 0.8445 GB, free: 13.03 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003337/0.6483, allocations: 227.2 kB / 0.8447 GB, free: 12.92 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005204/0.6488, allocations: 314.7 kB / 0.845 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.817e-05/0.6489, allocations: 37.94 kB / 0.8451 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=38): time 2.565e-06/0.6489, allocations: 0 / 0.8451 GB, free: 12.57 MB / 0.5417 GB Notification: Performance of matching and sorting (n=38): time 0.001653/0.6505, allocations: 0.6469 MB / 0.8457 GB, free: 12.25 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.111e-05/0.6506, allocations: 56.12 kB / 0.8457 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004804/0.6511, allocations: 495.3 kB / 0.8462 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.655e-05/0.6511, allocations: 40.11 kB / 0.8462 GB, free: 11.85 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002084/0.6513, allocations: 334.3 kB / 0.8466 GB, free: 11.55 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001096/0.6515, allocations: 135.6 kB / 0.8467 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001553/0.6516, allocations: 83.73 kB / 0.8468 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.6518, allocations: 374.9 kB / 0.8471 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003424/0.6521, allocations: 174.4 kB / 0.8473 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004145/0.6526, allocations: 278.4 kB / 0.8476 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007483/0.6533, allocations: 447.4 kB / 0.848 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.6533, allocations: 4 kB / 0.848 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000935/0.6543, allocations: 0.5277 MB / 0.8485 GB, free: 9.695 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.6543, allocations: 4 kB / 0.8485 GB, free: 9.691 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.194e-06/0.6543, allocations: 4 kB / 0.8485 GB, free: 9.688 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.6543, allocations: 8.25 kB / 0.8485 GB, free: 9.68 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001237/0.6556, allocations: 195.6 kB / 0.8487 GB, free: 9.488 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002561/0.6581, allocations: 1.497 MB / 0.8502 GB, free: 7.859 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006694/0.6588, allocations: 79.58 kB / 0.8502 GB, free: 7.781 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.435e-05/0.6589, allocations: 16 kB / 0.8503 GB, free: 7.766 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005693/0.6595, allocations: 344.9 kB / 0.8506 GB, free: 7.426 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003734/0.6598, allocations: 274.5 kB / 0.8509 GB, free: 7.117 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006463/0.6605, allocations: 427.6 kB / 0.8513 GB, free: 6.672 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.853e-06/0.6605, allocations: 0 / 0.8513 GB, free: 6.672 MB / 0.5417 GB Notification: Performance of matching and sorting (n=52) (initialization_lambda0): time 0.0008626/0.6614, allocations: 0.5163 MB / 0.8518 GB, free: 6.148 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.17e-05/0.6614, allocations: 6.031 kB / 0.8518 GB, free: 6.145 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.6614, allocations: 4 kB / 0.8518 GB, free: 6.141 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.601e-06/0.6614, allocations: 4 kB / 0.8518 GB, free: 6.137 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004724/0.6619, allocations: 115.8 kB / 0.8519 GB, free: 6.023 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.103e-06/0.6619, allocations: 7.938 kB / 0.8519 GB, free: 6.016 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005027/0.6624, allocations: 63.7 kB / 0.852 GB, free: 5.953 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.289e-05/0.6625, allocations: 16 kB / 0.852 GB, free: 5.938 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * 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 (52): * Single equations (assignments): 51 * 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.0001798/0.6627, allocations: 212.1 kB / 0.8522 GB, free: 5.723 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.864e-05/0.6628, allocations: 63.25 kB / 0.8522 GB, free: 5.66 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009492/0.6637, allocations: 487.7 kB / 0.8527 GB, free: 5.172 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.403e-06/0.6637, allocations: 11.88 kB / 0.8527 GB, free: 5.16 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-06/0.6637, allocations: 0 / 0.8527 GB, free: 5.16 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008931/0.6646, allocations: 0.7179 MB / 0.8534 GB, free: 4.355 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002198/0.6669, allocations: 1.266 MB / 0.8547 GB, free: 3.023 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.6669, allocations: 4 kB / 0.8547 GB, free: 3.02 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001293/0.6682, allocations: 199.7 kB / 0.8548 GB, free: 2.824 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.117e-06/0.6682, allocations: 8.156 kB / 0.8549 GB, free: 2.816 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.566e-05/0.6682, allocations: 8 kB / 0.8549 GB, free: 2.809 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002221/0.6705, allocations: 1.467 MB / 0.8563 GB, free: 1.211 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.6705, allocations: 4 kB / 0.8563 GB, free: 1.207 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01284/0.6833, allocations: 4.571 MB / 0.8608 GB, free: 12.46 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002879/0.6837, allocations: 184.3 kB / 0.8609 GB, free: 12.26 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.392e-05/0.6837, allocations: 8 kB / 0.8609 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004787/0.6842, allocations: 51.95 kB / 0.861 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.937e-05/0.6843, allocations: 31.89 kB / 0.861 GB, free: 12.17 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-05/0.6844, allocations: 23.98 kB / 0.861 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0003998/0.6848, allocations: 350.8 kB / 0.8614 GB, free: 11.8 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6848, allocations: 0 / 0.8614 GB, free: 11.8 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.001809/0.6866, allocations: 0.5498 MB / 0.8619 GB, free: 11.25 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (38): * Single equations (assignments): 37 * 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.0004378/0.687, allocations: 204.3 kB / 0.8621 GB, free: 11.06 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.00204/0.6891, allocations: 0.7274 MB / 0.8628 GB, free: 10.34 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.6891, allocations: 0 / 0.8628 GB, free: 10.34 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001191/0.6903, allocations: 308.3 kB / 0.8631 GB, free: 10.04 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001726/0.6921, allocations: 367.4 kB / 0.8635 GB, free: 9.684 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002634/0.6947, allocations: 1.893 MB / 0.8653 GB, free: 7.734 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005179/0.6952, allocations: 0.9574 MB / 0.8663 GB, free: 6.75 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007568/0.696, allocations: 213.9 kB / 0.8665 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001689/0.6962, allocations: 51.44 kB / 0.8665 GB, free: 6.492 MB / 0.5573 GB Notification: Performance of SimCode: time 7.22e-07/0.6962, allocations: 0 / 0.8665 GB, free: 6.492 MB / 0.5573 GB Notification: Performance of Templates: time 0.02149/0.7177, allocations: 13.76 MB / 0.8799 GB, free: 8.898 MB / 0.573 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sensors.Examples.Density.makefile (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)