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.0009366/0.0009369, allocations: 97.12 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001085/0.001086, allocations: 175.2 kB / 16.57 MB, free: 6.398 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.298/1.298, allocations: 223.2 MB / 240.5 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6629/0.6629, allocations: 113.8 MB / 405.4 MB, free: 4.527 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003019/0.0003019, allocations: 10.09 kB / 493 MB, free: 8.551 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1375, allocations: 77.14 MB / 0.5568 GB, free: 11.61 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.4861/0.6235, allocations: 247.2 MB / 0.7983 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.3504/0.974, allocations: 23.91 MB / 0.8216 GB, free: 8.637 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003549/0.9776, allocations: 99.44 kB / 0.8217 GB, free: 8.637 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.005971/0.9836, allocations: 1.72 MB / 0.8234 GB, free: 8.633 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.02002/1.004, allocations: 5.869 MB / 0.8291 GB, free: 8.566 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.008795/1.012, allocations: 2.718 MB / 0.8318 GB, free: 8.52 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.009919/1.022, allocations: 5.14 MB / 0.8368 GB, free: 8.504 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004824/1.027, allocations: 2.578 MB / 0.8393 GB, free: 24.14 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006589/1.034, allocations: 2.617 MB / 0.8419 GB, free: 24.14 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004248/1.038, allocations: 1.906 MB / 0.8437 GB, free: 24.13 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.001042/1.039, allocations: 153.2 kB / 0.8439 GB, free: 24.13 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008958/1.048, allocations: 2.087 MB / 0.8459 GB, free: 24.13 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.003076/1.051, allocations: 1.316 MB / 0.8472 GB, free: 24.12 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002958/1.054, allocations: 0.763 MB / 0.8479 GB, free: 24.09 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.007969/1.062, allocations: 4.5 MB / 0.8523 GB, free: 23.75 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.611e-06/1.062, allocations: 0 / 0.8523 GB, free: 23.75 MB / 0.6387 GB Notification: Performance of FrontEnd: time 3.206e-06/1.062, allocations: 1.203 kB / 0.8523 GB, free: 23.75 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0002631/1.063, allocations: 0 / 0.8523 GB, free: 23.75 MB / 0.6387 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.008718/1.071, allocations: 3.429 MB / 0.8557 GB, free: 22.05 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.682e-05/1.071, allocations: 8.5 kB / 0.8557 GB, free: 22.05 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006557/1.078, allocations: 0.9423 MB / 0.8566 GB, free: 21.84 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005858/1.084, allocations: 2.225 MB / 0.8588 GB, free: 21.29 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002832/1.084, allocations: 283.6 kB / 0.859 GB, free: 21.22 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000808/1.085, allocations: 298.2 kB / 0.8593 GB, free: 21.21 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006905/1.092, allocations: 3.324 MB / 0.8626 GB, free: 20.95 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.942e-05/1.092, allocations: 7.781 kB / 0.8626 GB, free: 20.95 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003812/1.092, allocations: 120.5 kB / 0.8627 GB, free: 20.95 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001092/1.093, allocations: 109.3 kB / 0.8628 GB, free: 20.94 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004623/1.097, allocations: 2.798 MB / 0.8655 GB, free: 20.5 MB / 0.6387 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.01559/1.113, allocations: 13.28 MB / 0.8785 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002336/1.115, allocations: 1.721 MB / 0.8802 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001651/1.115, allocations: 60.61 kB / 0.8802 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.925e-05/1.115, allocations: 68.59 kB / 0.8803 GB, free: 11 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=186): time 3.787e-06/1.115, allocations: 0 / 0.8803 GB, free: 11 MB / 0.6387 GB Notification: Performance of matching and sorting (n=186): time 0.004686/1.12, allocations: 2.783 MB / 0.883 GB, free: 10.48 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.593e-05/1.12, allocations: 73.38 kB / 0.8831 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002503/1.123, allocations: 1.979 MB / 0.885 GB, free: 9.852 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0002861/1.123, allocations: 70.17 kB / 0.8851 GB, free: 9.82 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.000757/1.124, allocations: 1.41 MB / 0.8865 GB, free: 9.145 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.000567/1.124, allocations: 0.653 MB / 0.8871 GB, free: 8.664 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.39e-05/1.124, allocations: 39.03 kB / 0.8872 GB, free: 8.664 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001491/1.125, allocations: 385.9 kB / 0.8875 GB, free: 8.336 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001134/1.126, allocations: 0.81 MB / 0.8883 GB, free: 8.207 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001474/1.127, allocations: 1.433 MB / 0.8897 GB, free: 7.359 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001392/1.129, allocations: 1.058 MB / 0.8907 GB, free: 7.238 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.197e-06/1.129, allocations: 10.12 kB / 0.8908 GB, free: 7.234 MB / 0.6387 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.003673/1.132, allocations: 2.502 MB / 0.8932 GB, free: 6.781 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.001602/1.134, allocations: 5.233 MB / 0.8983 GB, free: 1.191 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.075e-05/1.134, allocations: 15.78 kB / 0.8983 GB, free: 1.188 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.097e-05/1.134, allocations: 29.02 kB / 0.8984 GB, free: 1.184 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002595/1.137, allocations: 0.5649 MB / 0.8989 GB, free: 1.09 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002033/1.139, allocations: 4.151 MB / 0.903 GB, free: 12.95 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003586/1.142, allocations: 405.5 kB / 0.9033 GB, free: 12.76 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001901/1.142, allocations: 96.69 kB / 0.9034 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.048e-05/1.142, allocations: 3.25 kB / 0.9034 GB, free: 12.75 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003126/1.146, allocations: 2.24 MB / 0.9056 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.064e-05/1.146, allocations: 14.75 kB / 0.9056 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.961e-05/1.146, allocations: 23.72 kB / 0.9057 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001727/1.147, allocations: 482.8 kB / 0.9061 GB, free: 12.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.678e-05/1.147, allocations: 30.05 kB / 0.9062 GB, free: 12.4 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003257/1.151, allocations: 389.3 kB / 0.9065 GB, free: 12.22 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000153/1.151, allocations: 89.64 kB / 0.9066 GB, free: 12.22 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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 (261): * Single equations (assignments): 254 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * 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: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001515/1.152, allocations: 0.8636 MB / 0.9075 GB, free: 11.93 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005484/1.153, allocations: 271.8 kB / 0.9077 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003084/1.156, allocations: 2.153 MB / 0.9098 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/1.156, allocations: 19.2 kB / 0.9098 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.115e-05/1.156, allocations: 11.12 kB / 0.9098 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002323/1.158, allocations: 1.918 MB / 0.9117 GB, free: 10.86 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009002/1.167, allocations: 5.231 MB / 0.9168 GB, free: 7.48 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.696e-06/1.167, allocations: 5.203 kB / 0.9168 GB, free: 7.477 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002385/1.17, allocations: 0.5046 MB / 0.9173 GB, free: 7.008 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.047e-05/1.17, allocations: 8.156 kB / 0.9173 GB, free: 7 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001512/1.17, allocations: 60.34 kB / 0.9174 GB, free: 6.969 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001847/1.172, allocations: 4.127 MB / 0.9214 GB, free: 2.734 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.587e-06/1.172, allocations: 2.906 kB / 0.9214 GB, free: 2.734 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004724/1.177, allocations: 3.512 MB / 0.9248 GB, free: 96 kB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001617/1.178, allocations: 0.5823 MB / 0.9254 GB, free: 15.6 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004186/1.179, allocations: 44.38 kB / 0.9255 GB, free: 15.59 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002945/1.182, allocations: 240.5 kB / 0.9257 GB, free: 15.38 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000323/1.182, allocations: 111.6 kB / 0.9258 GB, free: 15.28 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001952/1.182, allocations: 81.45 kB / 0.9259 GB, free: 15.21 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.002143/1.184, allocations: 1.312 MB / 0.9272 GB, free: 14.23 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.1e-07/1.184, allocations: 4 kB / 0.9272 GB, free: 14.23 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.005016/1.189, allocations: 1.728 MB / 0.9288 GB, free: 12.6 MB / 0.67 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 (186): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * 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: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007985/1.19, allocations: 380.5 kB / 0.9292 GB, free: 12.3 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005671/1.196, allocations: 3.347 MB / 0.9325 GB, free: 9.988 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.273e-06/1.196, allocations: 4 kB / 0.9325 GB, free: 9.984 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001612/1.198, allocations: 1.043 MB / 0.9335 GB, free: 9.277 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0075/1.205, allocations: 1.581 MB / 0.935 GB, free: 7.957 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01034/1.215, allocations: 7.91 MB / 0.9428 GB, free: 0.6719 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001735/1.217, allocations: 2.256 MB / 0.945 GB, free: 14.52 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.003855/1.221, allocations: 1.118 MB / 0.9461 GB, free: 13.4 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006103/1.222, allocations: 232.6 kB / 0.9463 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of SimCode: time 7.61e-07/1.222, allocations: 0 / 0.9463 GB, free: 13.18 MB / 0.6856 GB Notification: Performance of Templates: time 0.08167/1.303, allocations: 52.05 MB / 0.9971 GB, free: 9.996 MB / 0.7325 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)