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.0008361/0.0008361, allocations: 88.84 kB / 16.66 MB, free: 5.867 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.001021/0.001021, allocations: 178.1 kB / 17.58 MB, free: 5.543 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.346/1.346, allocations: 223.3 MB / 241.6 MB, free: 184 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7088/0.7088, allocations: 115.5 MB / 408.2 MB, free: 7.059 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003502/0.0003503, allocations: 8 kB / 496.5 MB, free: 15.66 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4382/0.4385, allocations: 77.51 MB / 0.5606 GB, free: 36.34 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.6475/1.086, allocations: 298.8 MB / 0.8523 GB, free: 472 kB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0333/1.119, allocations: 25.74 MB / 0.8775 GB, free: 9.367 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005662/1.125, allocations: 112.2 kB / 0.8776 GB, free: 9.363 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.005637/1.131, allocations: 1.536 MB / 0.8791 GB, free: 8.637 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01694/1.148, allocations: 5.627 MB / 0.8846 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.007197/1.155, allocations: 2.387 MB / 0.8869 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01565/1.171, allocations: 12.4 MB / 0.899 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005607/1.176, allocations: 2.994 MB / 0.9019 GB, free: 6.391 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0128/1.189, allocations: 3.536 MB / 0.9054 GB, free: 3.102 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006759/1.196, allocations: 2.95 MB / 0.9083 GB, free: 404 kB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.001372/1.197, allocations: 152 kB / 0.9084 GB, free: 252 kB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01213/1.209, allocations: 5.279 MB / 0.9136 GB, free: 11.56 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.003218/1.213, allocations: 1.422 MB / 0.915 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.005636/1.218, allocations: 1.881 MB / 0.9168 GB, free: 8.277 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.009628/1.228, allocations: 4.973 MB / 0.9216 GB, free: 3.535 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 7.594e-06/1.228, allocations: 3.938 kB / 0.9216 GB, free: 3.531 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.897e-06/1.228, allocations: 0 / 0.9216 GB, free: 3.531 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 0.0002119/1.228, allocations: 4 kB / 0.9217 GB, free: 3.527 MB / 0.6231 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.007826/1.236, allocations: 3.437 MB / 0.925 GB, free: 56 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.809e-05/1.236, allocations: 11.97 kB / 0.925 GB, free: 44 kB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006237/1.242, allocations: 0.934 MB / 0.9259 GB, free: 15.11 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004874/1.247, allocations: 2.261 MB / 0.9281 GB, free: 12.82 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002885/1.248, allocations: 276.8 kB / 0.9284 GB, free: 12.54 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006614/1.248, allocations: 295.8 kB / 0.9287 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006436/1.255, allocations: 3.366 MB / 0.932 GB, free: 8.797 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.921e-05/1.255, allocations: 3.938 kB / 0.932 GB, free: 8.793 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002817/1.255, allocations: 118.4 kB / 0.9321 GB, free: 8.68 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001276/1.255, allocations: 113.3 kB / 0.9322 GB, free: 8.566 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005206/1.261, allocations: 2.804 MB / 0.9349 GB, free: 5.75 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.01854/1.279, allocations: 13.25 MB / 0.9479 GB, free: 7.434 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002726/1.282, allocations: 1.696 MB / 0.9495 GB, free: 5.73 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001598/1.284, allocations: 1.102 MB / 0.9506 GB, free: 4.629 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004931/1.284, allocations: 328.5 kB / 0.9509 GB, free: 4.258 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.849e-05/1.284, allocations: 64.55 kB / 0.951 GB, free: 4.188 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=182): time 4.118e-06/1.284, allocations: 0 / 0.951 GB, free: 4.188 MB / 0.6544 GB Notification: Performance of matching and sorting (n=182): time 0.005263/1.289, allocations: 2.731 MB / 0.9537 GB, free: 1.453 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.8e-05/1.289, allocations: 73.34 kB / 0.9537 GB, free: 1.367 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003083/1.293, allocations: 2.001 MB / 0.9557 GB, free: 15.35 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0003657/1.293, allocations: 69.7 kB / 0.9557 GB, free: 15.27 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001172/1.294, allocations: 1.417 MB / 0.9571 GB, free: 13.85 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009184/1.295, allocations: 0.6374 MB / 0.9577 GB, free: 13.21 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002444/1.295, allocations: 169.6 kB / 0.9579 GB, free: 13.04 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001128/1.295, allocations: 301.1 kB / 0.9582 GB, free: 12.75 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001413/1.297, allocations: 0.8043 MB / 0.959 GB, free: 11.94 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001896/1.299, allocations: 1.406 MB / 0.9604 GB, free: 10.28 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003453/1.302, allocations: 2.264 MB / 0.9626 GB, free: 7.832 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.518e-05/1.302, allocations: 4 kB / 0.9626 GB, free: 7.828 MB / 0.67 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004657/1.307, allocations: 2.498 MB / 0.965 GB, free: 5.32 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003853/1.307, allocations: 493.1 kB / 0.9655 GB, free: 4.656 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.147e-05/1.307, allocations: 16 kB / 0.9655 GB, free: 4.641 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.877e-05/1.307, allocations: 23.94 kB / 0.9655 GB, free: 4.617 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002651/1.31, allocations: 0.5617 MB / 0.9661 GB, free: 4.055 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002433/1.313, allocations: 4.157 MB / 0.9701 GB, free: 15.73 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003682/1.316, allocations: 394 kB / 0.9705 GB, free: 15.35 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003209/1.317, allocations: 99.86 kB / 0.9706 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/1.317, allocations: 4 kB / 0.9706 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003859/1.321, allocations: 2.226 MB / 0.9728 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.242e-05/1.321, allocations: 16 kB / 0.9728 GB, free: 13 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.683e-05/1.321, allocations: 20 kB / 0.9728 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001828/1.322, allocations: 471.3 kB / 0.9733 GB, free: 12.52 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.758e-05/1.322, allocations: 35.86 kB / 0.9733 GB, free: 12.49 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003365/1.326, allocations: 380.2 kB / 0.9737 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001973/1.326, allocations: 83.98 kB / 0.9737 GB, free: 12.04 MB / 0.6856 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.001794/1.328, allocations: 0.8565 MB / 0.9746 GB, free: 11.17 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006838/1.329, allocations: 268.8 kB / 0.9748 GB, free: 10.9 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003685/1.332, allocations: 2.115 MB / 0.9769 GB, free: 8.77 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.877e-05/1.332, allocations: 20 kB / 0.9769 GB, free: 8.75 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.954e-06/1.332, allocations: 0 / 0.9769 GB, free: 8.75 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002701/1.335, allocations: 1.894 MB / 0.9788 GB, free: 6.809 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009265/1.344, allocations: 5.192 MB / 0.9838 GB, free: 1.559 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-05/1.344, allocations: 0 / 0.9838 GB, free: 1.559 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002378/1.347, allocations: 499.8 kB / 0.9843 GB, free: 1.07 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.609e-05/1.347, allocations: 15.88 kB / 0.9843 GB, free: 1.055 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001587/1.347, allocations: 51.98 kB / 0.9844 GB, free: 1.004 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00219/1.349, allocations: 4.122 MB / 0.9884 GB, free: 12.72 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/1.349, allocations: 8.281 kB / 0.9884 GB, free: 12.71 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005215/1.354, allocations: 3.23 MB / 0.9916 GB, free: 9.426 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001599/1.356, allocations: 0.5715 MB / 0.9921 GB, free: 8.832 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000389/1.356, allocations: 47.98 kB / 0.9922 GB, free: 8.785 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00234/1.359, allocations: 247.6 kB / 0.9924 GB, free: 8.547 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002398/1.359, allocations: 121.7 kB / 0.9925 GB, free: 8.43 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000137/1.359, allocations: 67.97 kB / 0.9926 GB, free: 8.363 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002007/1.361, allocations: 1.334 MB / 0.9939 GB, free: 7.02 MB / 0.7012 GB Notification: Performance of sort global known variables: time 5.11e-07/1.361, allocations: 4 kB / 0.9939 GB, free: 7.016 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.004497/1.366, allocations: 1.714 MB / 0.9956 GB, free: 5.297 MB / 0.7012 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.000862/1.367, allocations: 367.2 kB / 0.9959 GB, free: 4.957 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.00635/1.373, allocations: 3.316 MB / 0.9992 GB, free: 1.648 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 1.133e-05/1.373, allocations: 1.812 kB / 0.9992 GB, free: 1.648 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001841/1.375, allocations: 1.031 MB / 1 GB, free: 0.6172 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009797/1.385, allocations: 1.605 MB / 1.002 GB, free: 15.04 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01302/1.398, allocations: 8.361 MB / 1.01 GB, free: 6.609 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002144/1.4, allocations: 2.19 MB / 1.012 GB, free: 4.387 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001048/1.401, allocations: 235.4 kB / 1.012 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of SimCode: time 7.12e-07/1.401, allocations: 0 / 1.012 GB, free: 4.156 MB / 0.7169 GB Notification: Performance of Templates: time 0.4074/1.808, allocations: 140.5 MB / 1.15 GB, free: 190.7 MB / 0.7169 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)