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: translateModel(IBPSA.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density") translateModel(IBPSA.Fluid.Sensors.Examples.Density,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_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.0065/0.0065, allocations: 100.8 kB / 15.87 MB, free: 6.312 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.001242/0.001242, allocations: 197.5 kB / 16.79 MB, free: 6.242 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.364/1.364, allocations: 222.9 MB / 240.5 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7446/0.7446, allocations: 122.9 MB / 413.5 MB, free: 11.21 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001318/0.001318, allocations: 68.33 kB / 0.4904 GB, free: 14.45 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1574/0.1587, allocations: 77.93 MB / 0.5665 GB, free: 0.7266 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Density): time 0.613/0.7718, allocations: 182.8 MB / 0.745 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01086/0.7827, allocations: 7.05 MB / 0.7519 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001359/0.7841, allocations: 23.88 kB / 0.7519 GB, free: 10.1 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001268/0.7854, allocations: 350.1 kB / 0.7523 GB, free: 9.754 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.003625/0.7891, allocations: 1.361 MB / 0.7536 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002895/0.792, allocations: 1.049 MB / 0.7546 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003012/0.795, allocations: 2.716 MB / 0.7573 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008084/0.7959, allocations: 0.5605 MB / 0.7578 GB, free: 4.051 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001418/0.7973, allocations: 0.7236 MB / 0.7585 GB, free: 3.324 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001261/0.7986, allocations: 0.6187 MB / 0.7591 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001012/0.7987, allocations: 40 kB / 0.7592 GB, free: 2.664 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003935/0.8026, allocations: 2.19 MB / 0.7613 GB, free: 480 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003176/0.803, allocations: 263.2 kB / 0.7615 GB, free: 216 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0005093/0.8035, allocations: 402 kB / 0.7619 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003127/0.8066, allocations: 1.831 MB / 0.7637 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.8066, allocations: 3.938 kB / 0.7637 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of FrontEnd: time 7.61e-07/0.8066, allocations: 0 / 0.7637 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.658e-06/0.8067, allocations: 4 kB / 0.7637 GB, free: 13.97 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.001971/0.8086, allocations: 1.157 MB / 0.7649 GB, free: 12.77 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.465e-05/0.8087, allocations: 16.02 kB / 0.7649 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002008/0.8107, allocations: 262.8 kB / 0.7651 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009538/0.8117, allocations: 0.5792 MB / 0.7657 GB, free: 11.88 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.938e-05/0.8117, allocations: 41.31 kB / 0.7657 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.844e-05/0.8118, allocations: 56 kB / 0.7658 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/0.8129, allocations: 0.6362 MB / 0.7664 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.042e-05/0.813, allocations: 7.938 kB / 0.7664 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.64e-05/0.813, allocations: 23.94 kB / 0.7664 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.995e-05/0.8131, allocations: 21.25 kB / 0.7665 GB, free: 11.08 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009708/0.8141, allocations: 0.5165 MB / 0.767 GB, free: 10.56 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.003151/0.8172, allocations: 2.453 MB / 0.7694 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007097/0.8179, allocations: 371.2 kB / 0.7697 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003986/0.8184, allocations: 237.3 kB / 0.7699 GB, free: 7.285 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006402/0.819, allocations: 311.6 kB / 0.7702 GB, free: 6.926 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.122e-05/0.8191, allocations: 37.2 kB / 0.7703 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=39): time 2.194e-06/0.8191, allocations: 0 / 0.7703 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of matching and sorting (n=39): time 0.001482/0.8205, allocations: 0.6183 MB / 0.7709 GB, free: 6.258 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.8206, allocations: 55.41 kB / 0.7709 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005886/0.8212, allocations: 0.4912 MB / 0.7714 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.406e-05/0.8213, allocations: 37.7 kB / 0.7714 GB, free: 5.648 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002325/0.8215, allocations: 320.4 kB / 0.7717 GB, free: 5.332 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001307/0.8216, allocations: 141.9 kB / 0.7719 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001489/0.8218, allocations: 94.03 kB / 0.772 GB, free: 5.094 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001641/0.822, allocations: 366.7 kB / 0.7723 GB, free: 4.727 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003472/0.8223, allocations: 178.5 kB / 0.7725 GB, free: 4.551 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004439/0.8228, allocations: 287.3 kB / 0.7728 GB, free: 4.23 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007442/0.8235, allocations: 448.9 kB / 0.7732 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.8235, allocations: 0 / 0.7732 GB, free: 3.762 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.0009436/0.8245, allocations: 0.528 MB / 0.7737 GB, free: 3.227 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.944e-05/0.8245, allocations: 6.188 kB / 0.7737 GB, free: 3.223 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/0.8245, allocations: 4 kB / 0.7737 GB, free: 3.219 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.8246, allocations: 4 kB / 0.7737 GB, free: 3.215 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007769/0.8253, allocations: 131.8 kB / 0.7738 GB, free: 3.086 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004224/0.8258, allocations: 0.6017 MB / 0.7744 GB, free: 2.461 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006857/0.8265, allocations: 83.58 kB / 0.7745 GB, free: 2.379 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.264e-05/0.8265, allocations: 16 kB / 0.7745 GB, free: 2.363 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000604/0.8271, allocations: 348.9 kB / 0.7749 GB, free: 2.02 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004315/0.8276, allocations: 287.3 kB / 0.7751 GB, free: 1.695 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007245/0.8283, allocations: 448.1 kB / 0.7756 GB, free: 1.227 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.864e-06/0.8283, allocations: 0 / 0.7756 GB, free: 1.227 MB / 0.5919 GB Notification: Performance of matching and sorting (n=53) (initialization_lambda0): time 0.0009318/0.8293, allocations: 0.5242 MB / 0.7761 GB, free: 0.6953 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.8293, allocations: 8 kB / 0.7761 GB, free: 0.6875 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.8293, allocations: 1.5 kB / 0.7761 GB, free: 0.6875 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.496e-06/0.8293, allocations: 7.938 kB / 0.7761 GB, free: 0.6797 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005395/0.8299, allocations: 124.1 kB / 0.7762 GB, free: 0.5586 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.917e-06/0.8299, allocations: 11.97 kB / 0.7762 GB, free: 0.5469 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006282/0.8305, allocations: 75.64 kB / 0.7763 GB, free: 484 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.845e-05/0.8306, allocations: 16 kB / 0.7763 GB, free: 468 kB / 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.0002173/0.8308, allocations: 210.4 kB / 0.7765 GB, free: 252 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/0.8309, allocations: 55.34 kB / 0.7766 GB, free: 196 kB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009986/0.8319, allocations: 488.7 kB / 0.777 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.917e-06/0.8319, allocations: 7.984 kB / 0.777 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.8319, allocations: 0 / 0.777 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008222/0.8328, allocations: 0.7146 MB / 0.7777 GB, free: 14.89 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002162/0.8349, allocations: 1.288 MB / 0.779 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.158e-06/0.8349, allocations: 0 / 0.779 GB, free: 13.53 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006601/0.8356, allocations: 128.2 kB / 0.7791 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.096e-05/0.8356, allocations: 4 kB / 0.7791 GB, free: 13.4 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.801e-05/0.8357, allocations: 15.94 kB / 0.7791 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003787/0.8361, allocations: 0.586 MB / 0.7797 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.987e-06/0.8361, allocations: 4.031 kB / 0.7797 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001255/0.8373, allocations: 0.7939 MB / 0.7805 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000296/0.8376, allocations: 180.4 kB / 0.7807 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.145e-05/0.8377, allocations: 15.92 kB / 0.7807 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005202/0.8383, allocations: 47.88 kB / 0.7807 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.973e-05/0.8384, allocations: 27.89 kB / 0.7807 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.319e-05/0.8384, allocations: 19.94 kB / 0.7808 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0004801/0.8389, allocations: 354.8 kB / 0.7811 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8389, allocations: 0 / 0.7811 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001235/0.8401, allocations: 359.2 kB / 0.7814 GB, free: 10.94 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 (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.0006841/0.8408, allocations: 205.8 kB / 0.7816 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001701/0.8426, allocations: 0.6691 MB / 0.7823 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.328e-06/0.8426, allocations: 3.938 kB / 0.7823 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0004547/0.8431, allocations: 217.2 kB / 0.7825 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001848/0.8449, allocations: 354.5 kB / 0.7828 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002659/0.8476, allocations: 1.646 MB / 0.7844 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006329/0.8482, allocations: 0.9535 MB / 0.7854 GB, free: 6.828 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008021/0.849, allocations: 208.9 kB / 0.7856 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001457/0.8492, allocations: 51.44 kB / 0.7856 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of SimCode: time 6.72e-07/0.8492, allocations: 0 / 0.7856 GB, free: 6.578 MB / 0.6075 GB Notification: Performance of Templates: time 0.02018/0.8694, allocations: 11.94 MB / 0.7973 GB, free: 10.82 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Density.pipe 2>&1)