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.0008701/0.0008701, allocations: 88.17 kB / 15.7 MB, free: 460 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.0009638/0.0009638, allocations: 175.1 kB / 16.58 MB, free: 6.504 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.457/1.457, allocations: 223.3 MB / 240.6 MB, free: 5.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7015/0.7015, allocations: 115.5 MB / 407.2 MB, free: 2.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003015/0.0003015, allocations: 8 kB / 495.2 MB, free: 6.711 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1479, allocations: 77.52 MB / 0.5593 GB, free: 9.391 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.5801/0.728, allocations: 278.7 MB / 0.8315 GB, free: 248 kB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.3652/1.093, allocations: 24.17 MB / 0.8551 GB, free: 9.422 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003698/1.097, allocations: 103.2 kB / 0.8552 GB, free: 9.422 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003709/1.101, allocations: 1.195 MB / 0.8564 GB, free: 9.41 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01183/1.112, allocations: 4.378 MB / 0.8607 GB, free: 9.219 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.006273/1.119, allocations: 1.963 MB / 0.8626 GB, free: 9.168 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.01272/1.131, allocations: 10.45 MB / 0.8728 GB, free: 9.148 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004714/1.136, allocations: 2.536 MB / 0.8753 GB, free: 24.79 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007886/1.144, allocations: 3.199 MB / 0.8784 GB, free: 24.77 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006604/1.151, allocations: 2.823 MB / 0.8811 GB, free: 24.75 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.00147/1.152, allocations: 152.9 kB / 0.8813 GB, free: 24.75 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008228/1.161, allocations: 2.41 MB / 0.8836 GB, free: 24.71 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.002569/1.163, allocations: 1.427 MB / 0.885 GB, free: 24.71 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002168/1.165, allocations: 0.7664 MB / 0.8858 GB, free: 24.68 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.006776/1.172, allocations: 4.743 MB / 0.8904 GB, free: 24.24 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/1.172, allocations: 0 / 0.8904 GB, free: 24.24 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.853e-06/1.172, allocations: 0 / 0.8904 GB, free: 24.24 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 0.0002022/1.172, allocations: 0 / 0.8904 GB, free: 24.24 MB / 0.6544 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.00687/1.179, allocations: 3.492 MB / 0.8938 GB, free: 22.11 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/1.179, allocations: 9.094 kB / 0.8938 GB, free: 22.11 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005912/1.185, allocations: 0.9409 MB / 0.8947 GB, free: 21.72 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005174/1.19, allocations: 2.388 MB / 0.8971 GB, free: 20.72 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002676/1.191, allocations: 272 kB / 0.8973 GB, free: 20.65 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007907/1.191, allocations: 297.8 kB / 0.8976 GB, free: 20.64 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006862/1.198, allocations: 3.346 MB / 0.9009 GB, free: 19.73 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.695e-05/1.198, allocations: 3.875 kB / 0.9009 GB, free: 19.73 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004664/1.199, allocations: 116.4 kB / 0.901 GB, free: 19.73 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001127/1.199, allocations: 112.8 kB / 0.9011 GB, free: 19.71 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005048/1.204, allocations: 2.8 MB / 0.9038 GB, free: 19.23 MB / 0.6544 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.01628/1.22, allocations: 13.29 MB / 0.9168 GB, free: 10.02 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002472/1.223, allocations: 1.732 MB / 0.9185 GB, free: 9.77 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00145/1.224, allocations: 1.121 MB / 0.9196 GB, free: 9.613 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004814/1.225, allocations: 330.1 kB / 0.9199 GB, free: 9.309 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.258e-05/1.225, allocations: 58.62 kB / 0.92 GB, free: 9.27 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=186): time 4.348e-06/1.225, allocations: 4 kB / 0.92 GB, free: 9.266 MB / 0.6544 GB Notification: Performance of matching and sorting (n=186): time 0.004773/1.23, allocations: 2.785 MB / 0.9227 GB, free: 8.746 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.315e-05/1.23, allocations: 75.72 kB / 0.9228 GB, free: 8.676 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002829/1.233, allocations: 1.981 MB / 0.9247 GB, free: 8.109 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002571/1.233, allocations: 66.67 kB / 0.9248 GB, free: 8.078 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009044/1.234, allocations: 1.405 MB / 0.9261 GB, free: 7.406 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006612/1.235, allocations: 0.654 MB / 0.9268 GB, free: 6.926 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/1.235, allocations: 41.09 kB / 0.9268 GB, free: 6.926 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001701/1.235, allocations: 387 kB / 0.9272 GB, free: 6.598 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001316/1.236, allocations: 0.8069 MB / 0.928 GB, free: 6.469 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001735/1.238, allocations: 1.446 MB / 0.9294 GB, free: 5.621 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001532/1.239, allocations: 1.059 MB / 0.9304 GB, free: 5.492 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.125e-05/1.239, allocations: 3.344 kB / 0.9304 GB, free: 5.492 MB / 0.6544 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.00394/1.243, allocations: 2.509 MB / 0.9329 GB, free: 5.035 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003051/1.244, allocations: 466.3 kB / 0.9333 GB, free: 4.477 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.313e-05/1.244, allocations: 11.16 kB / 0.9333 GB, free: 4.477 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.312e-05/1.244, allocations: 25.84 kB / 0.9334 GB, free: 4.477 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002464/1.246, allocations: 0.5697 MB / 0.9339 GB, free: 4.316 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002076/1.248, allocations: 4.162 MB / 0.938 GB, free: 56 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003236/1.252, allocations: 405.8 kB / 0.9384 GB, free: 15.69 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002177/1.252, allocations: 88.48 kB / 0.9385 GB, free: 15.62 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.167e-06/1.252, allocations: 4 kB / 0.9385 GB, free: 15.61 MB / 0.67 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003605/1.255, allocations: 2.238 MB / 0.9406 GB, free: 14.19 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.249e-05/1.256, allocations: 16 kB / 0.9407 GB, free: 14.18 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.819e-05/1.256, allocations: 24 kB / 0.9407 GB, free: 14.15 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001817/1.257, allocations: 481.1 kB / 0.9411 GB, free: 13.73 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.362e-05/1.257, allocations: 32.31 kB / 0.9412 GB, free: 13.71 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003155/1.261, allocations: 389.9 kB / 0.9415 GB, free: 13.36 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002191/1.261, allocations: 90.3 kB / 0.9416 GB, free: 13.29 MB / 0.67 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.001732/1.263, allocations: 0.8596 MB / 0.9425 GB, free: 12.72 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008091/1.263, allocations: 268.8 kB / 0.9427 GB, free: 12.45 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003935/1.267, allocations: 2.152 MB / 0.9448 GB, free: 11.04 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.811e-05/1.267, allocations: 20 kB / 0.9448 GB, free: 11.02 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/1.267, allocations: 0 / 0.9448 GB, free: 11.02 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002969/1.27, allocations: 1.926 MB / 0.9467 GB, free: 9.621 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009922/1.28, allocations: 5.234 MB / 0.9518 GB, free: 5.98 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.341e-05/1.28, allocations: 8 kB / 0.9518 GB, free: 5.973 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002379/1.283, allocations: 0.5069 MB / 0.9523 GB, free: 5.504 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.158e-05/1.283, allocations: 8 kB / 0.9523 GB, free: 5.496 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000153/1.283, allocations: 51.61 kB / 0.9524 GB, free: 5.473 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001929/1.285, allocations: 4.129 MB / 0.9564 GB, free: 1.234 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.529e-06/1.285, allocations: 2.719 kB / 0.9564 GB, free: 1.234 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005133/1.29, allocations: 3.284 MB / 0.9596 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001603/1.292, allocations: 0.5769 MB / 0.9602 GB, free: 14.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005869/1.292, allocations: 38.81 kB / 0.9602 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002497/1.295, allocations: 248.4 kB / 0.9605 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002209/1.295, allocations: 121.7 kB / 0.9606 GB, free: 14.07 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001748/1.295, allocations: 72.78 kB / 0.9607 GB, free: 14.01 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002281/1.297, allocations: 1.318 MB / 0.962 GB, free: 13.03 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.9e-07/1.297, allocations: 0 / 0.962 GB, free: 13.03 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.00492/1.302, allocations: 1.729 MB / 0.9636 GB, free: 11.39 MB / 0.6856 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.000875/1.303, allocations: 382.1 kB / 0.964 GB, free: 11.11 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.006247/1.31, allocations: 3.344 MB / 0.9673 GB, free: 8.797 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 8.907e-06/1.31, allocations: 4.938 kB / 0.9673 GB, free: 8.793 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001802/1.311, allocations: 1.046 MB / 0.9683 GB, free: 8.078 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008038/1.319, allocations: 1.613 MB / 0.9699 GB, free: 6.746 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01218/1.332, allocations: 7.942 MB / 0.9776 GB, free: 15.44 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002395/1.334, allocations: 2.188 MB / 0.9798 GB, free: 13.36 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.004945/1.339, allocations: 1.115 MB / 0.9809 GB, free: 12.23 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008676/1.34, allocations: 231.2 kB / 0.9811 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of SimCode: time 7.52e-07/1.34, allocations: 0 / 0.9811 GB, free: 12.02 MB / 0.7012 GB Notification: Performance of Templates: time 0.08839/1.428, allocations: 52.12 MB / 1.032 GB, free: 8.773 MB / 0.7481 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)