Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.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.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 117 kB / 17.09 MB, free: 5.969 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.001232/0.001232, allocations: 197.8 kB / 18.02 MB, free: 5.047 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.244/1.244, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6815/0.6815, allocations: 115.3 MB / 407.2 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 68.97 kB / 0.5583 GB, free: 32.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1424, allocations: 76.18 MB / 0.6327 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.6092/0.7517, allocations: 305.1 MB / 0.9307 GB, free: 10.99 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.03356/0.7853, allocations: 25.83 MB / 0.9559 GB, free: 1.086 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004929/0.7903, allocations: 127.2 kB / 0.956 GB, free: 0.9609 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.005291/0.7956, allocations: 1.798 MB / 0.9578 GB, free: 15.15 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01532/0.811, allocations: 5.963 MB / 0.9636 GB, free: 9.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.007299/0.8183, allocations: 2.634 MB / 0.9662 GB, free: 6.551 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0122/0.8305, allocations: 8.915 MB / 0.9749 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005433/0.836, allocations: 3.617 MB / 0.9784 GB, free: 9.914 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01102/0.847, allocations: 4.216 MB / 0.9826 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005861/0.8529, allocations: 2.956 MB / 0.9854 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001034/0.854, allocations: 360 kB / 0.9858 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01039/0.8644, allocations: 4.603 MB / 0.9903 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.002496/0.8669, allocations: 1.652 MB / 0.9919 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.003905/0.8708, allocations: 2.131 MB / 0.994 GB, free: 10.02 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.01186/0.8827, allocations: 6.739 MB / 1.001 GB, free: 3.258 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.8827, allocations: 0 / 1.001 GB, free: 3.258 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.054e-06/0.8828, allocations: 0 / 1.001 GB, free: 3.258 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 0.0001443/0.8829, allocations: 4 kB / 1.001 GB, free: 3.254 MB / 0.7481 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 693 * Number of variables: 693 Notification: Performance of Generate backend data structure: time 0.008313/0.8912, allocations: 4.16 MB / 1.005 GB, free: 15.02 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.148e-05/0.8913, allocations: 12.03 kB / 1.005 GB, free: 15.01 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005382/0.8967, allocations: 0.9361 MB / 1.006 GB, free: 14.07 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005242/0.9019, allocations: 2.404 MB / 1.008 GB, free: 11.59 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002382/0.9022, allocations: 273.2 kB / 1.008 GB, free: 11.31 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005156/0.9027, allocations: 292 kB / 1.008 GB, free: 11.02 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005492/0.9082, allocations: 3.363 MB / 1.012 GB, free: 7.574 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.754e-05/0.9083, allocations: 3.906 kB / 1.012 GB, free: 7.57 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002329/0.9086, allocations: 116 kB / 1.012 GB, free: 7.457 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001064/0.9087, allocations: 113.3 kB / 1.012 GB, free: 7.344 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004215/0.9129, allocations: 2.796 MB / 1.015 GB, free: 4.535 MB / 0.7637 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.01651/0.9294, allocations: 13.26 MB / 1.028 GB, free: 6.09 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002405/0.9319, allocations: 1.685 MB / 1.029 GB, free: 4.406 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0014/0.9333, allocations: 1.11 MB / 1.03 GB, free: 3.293 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004576/0.9338, allocations: 325.2 kB / 1.031 GB, free: 2.918 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.057e-05/0.9338, allocations: 64.56 kB / 1.031 GB, free: 2.848 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=182): time 4.399e-06/0.9338, allocations: 0 / 1.031 GB, free: 2.848 MB / 0.7794 GB Notification: Performance of matching and sorting (n=182): time 0.004882/0.9387, allocations: 2.727 MB / 1.033 GB, free: 120 kB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.9388, allocations: 81.34 kB / 1.033 GB, free: 24 kB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002824/0.9416, allocations: 1.998 MB / 1.035 GB, free: 14.01 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 0.0002837/0.9419, allocations: 65.7 kB / 1.035 GB, free: 13.94 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.001016/0.943, allocations: 1.41 MB / 1.037 GB, free: 12.51 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006974/0.9437, allocations: 0.6353 MB / 1.037 GB, free: 11.87 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005421/0.9442, allocations: 387.3 kB / 1.038 GB, free: 11.48 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.9443, allocations: 305.1 kB / 1.038 GB, free: 11.18 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001236/0.9456, allocations: 0.813 MB / 1.039 GB, free: 10.36 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001645/0.9472, allocations: 1.406 MB / 1.04 GB, free: 8.699 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0029/0.9501, allocations: 2.256 MB / 1.042 GB, free: 6.262 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.002e-05/0.9502, allocations: 4 kB / 1.043 GB, free: 6.258 MB / 0.795 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004155/0.9543, allocations: 2.502 MB / 1.045 GB, free: 3.746 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/0.9544, allocations: 12.25 kB / 1.045 GB, free: 3.734 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.921e-05/0.9544, allocations: 16 kB / 1.045 GB, free: 3.719 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.412e-05/0.9544, allocations: 23.94 kB / 1.045 GB, free: 3.695 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002385/0.9568, allocations: 0.5616 MB / 1.046 GB, free: 3.133 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3243/1.281, allocations: 4.149 MB / 1.05 GB, free: 320.1 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002938/1.284, allocations: 213.6 kB / 1.05 GB, free: 320.1 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002344/1.284, allocations: 89.8 kB / 1.05 GB, free: 320.1 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002791/1.287, allocations: 1.467 MB / 1.051 GB, free: 320 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001618/1.289, allocations: 1.396 MB / 1.053 GB, free: 319.4 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002889/1.292, allocations: 2.244 MB / 1.055 GB, free: 318.6 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.947e-06/1.292, allocations: 3.969 kB / 1.055 GB, free: 318.6 MB / 0.795 GB Notification: Performance of matching and sorting (n=257) (initialization_lambda0): time 0.004213/1.296, allocations: 2.478 MB / 1.057 GB, free: 317.8 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/1.296, allocations: 14.25 kB / 1.057 GB, free: 317.8 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.62e-05/1.296, allocations: 11.69 kB / 1.057 GB, free: 317.8 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.324e-05/1.296, allocations: 27.95 kB / 1.057 GB, free: 317.8 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001646/1.298, allocations: 469.1 kB / 1.058 GB, free: 317.7 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.911e-05/1.298, allocations: 33.2 kB / 1.058 GB, free: 317.7 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002481/1.3, allocations: 197.2 kB / 1.058 GB, free: 317.7 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001713/1.3, allocations: 86.27 kB / 1.058 GB, free: 317.7 MB / 0.795 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * 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 (257): * Single equations (assignments): 250 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 7 * 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): 7 systems {1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005561/1.301, allocations: 308.9 kB / 1.058 GB, free: 317.4 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006182/1.302, allocations: 269 kB / 1.059 GB, free: 317.4 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003765/1.305, allocations: 2.113 MB / 1.061 GB, free: 316.5 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.694e-05/1.305, allocations: 21.58 kB / 1.061 GB, free: 316.5 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.151e-05/1.305, allocations: 3.344 kB / 1.061 GB, free: 316.5 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002842/1.308, allocations: 1.885 MB / 1.063 GB, free: 315.7 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008439/1.317, allocations: 5.178 MB / 1.068 GB, free: 313.5 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/1.317, allocations: 3.562 kB / 1.068 GB, free: 313.5 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002084/1.319, allocations: 0.4906 MB / 1.068 GB, free: 313.5 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.608e-05/1.319, allocations: 9.812 kB / 1.068 GB, free: 313.5 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001157/1.319, allocations: 54.3 kB / 1.068 GB, free: 313.5 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00111/1.32, allocations: 4.125 MB / 1.072 GB, free: 309.3 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.32, allocations: 10.69 kB / 1.072 GB, free: 309.3 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004112/1.324, allocations: 3.223 MB / 1.075 GB, free: 307.9 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001231/1.325, allocations: 0.5622 MB / 1.076 GB, free: 307.6 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002616/1.326, allocations: 44.41 kB / 1.076 GB, free: 307.5 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001536/1.327, allocations: 82.19 kB / 1.076 GB, free: 307.5 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001928/1.328, allocations: 118.2 kB / 1.076 GB, free: 307.5 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/1.328, allocations: 71.86 kB / 1.076 GB, free: 307.5 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001597/1.329, allocations: 1.335 MB / 1.078 GB, free: 307 MB / 0.795 GB Notification: Performance of sort global known variables: time 8.51e-07/1.329, allocations: 0 / 1.078 GB, free: 307 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.003453/1.333, allocations: 1.714 MB / 1.079 GB, free: 306.6 MB / 0.795 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 20 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[1],vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mC[1],vol2.dynBal.medium.Xi[1],vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mC[1],vol3.dynBal.medium.Xi[1],vol3.dynBal.U,vol3.dynBal.m,vol3.dynBal.mC[1],vol4.dynBal.medium.Xi[1],vol4.dynBal.U,vol4.dynBal.m,vol4.dynBal.mC[1]) * 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 (182): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 7 * 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): 7 systems {1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0006718/1.333, allocations: 359.9 kB / 1.08 GB, free: 306.5 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.005032/1.338, allocations: 3.322 MB / 1.083 GB, free: 305.4 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 7.103e-06/1.338, allocations: 0 / 1.083 GB, free: 305.4 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.00133/1.34, allocations: 1.028 MB / 1.084 GB, free: 305.1 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006047/1.346, allocations: 1.531 MB / 1.085 GB, free: 304.7 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008109/1.354, allocations: 6.723 MB / 1.092 GB, free: 299.3 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001223/1.355, allocations: 2.188 MB / 1.094 GB, free: 297.1 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000846/1.356, allocations: 231.4 kB / 1.094 GB, free: 296.9 MB / 0.795 GB Notification: Performance of SimCode: time 8.81e-07/1.356, allocations: 0 / 1.094 GB, free: 296.9 MB / 0.795 GB Notification: Performance of Templates: time 0.09639/1.453, allocations: 141.2 MB / 1.232 GB, free: 155.7 MB / 0.795 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)