Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001882/0.001882, allocations: 104.3 kB / 19.72 MB, free: 416 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002007/0.002007, allocations: 212.9 kB / 23.02 MB, free: 2.957 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.659/1.659, allocations: 230.6 MB / 256.8 MB, free: 9.594 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.459/3.459, allocations: 0.5045 GB / 0.8104 GB, free: 2.793 MB / 0.6511 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003717/0.003717, allocations: 68.08 kB / 1.177 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8401/0.8438, allocations: 180 MB / 1.353 GB, free: 1.641 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.3858/1.23, allocations: 272 MB / 1.619 GB, free: 0.6719 MB / 1.292 GB Notification: Performance of NFInst.instExpressions: time 0.04104/1.271, allocations: 24.02 MB / 1.642 GB, free: 8.586 MB / 1.323 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00496/1.276, allocations: 186.4 kB / 1.642 GB, free: 8.402 MB / 1.323 GB Notification: Performance of NFTyping.typeComponents: time 0.005813/1.281, allocations: 1.72 MB / 1.644 GB, free: 6.672 MB / 1.323 GB Notification: Performance of NFTyping.typeBindings: time 0.02178/1.303, allocations: 6.226 MB / 1.65 GB, free: 432 kB / 1.323 GB Notification: Performance of NFTyping.typeClassSections: time 0.008564/1.312, allocations: 2.661 MB / 1.653 GB, free: 13.77 MB / 1.339 GB Notification: Performance of NFFlatten.flatten: time 0.01682/1.329, allocations: 9.023 MB / 1.661 GB, free: 4.73 MB / 1.339 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00698/1.336, allocations: 2.446 MB / 1.664 GB, free: 2.211 MB / 1.339 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01799/1.354, allocations: 4.886 MB / 1.669 GB, free: 13.35 MB / 1.354 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008261/1.362, allocations: 3.006 MB / 1.671 GB, free: 10.35 MB / 1.354 GB Notification: Performance of NFPackage.collectConstants: time 0.002075/1.364, allocations: 360 kB / 1.672 GB, free: 9.996 MB / 1.354 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01163/1.376, allocations: 3.779 MB / 1.675 GB, free: 6.203 MB / 1.354 GB Notification: Performance of NFScalarize.scalarize: time 0.004028/1.38, allocations: 1.679 MB / 1.677 GB, free: 4.52 MB / 1.354 GB Notification: Performance of NFVerifyModel.verify: time 0.006335/1.386, allocations: 1.789 MB / 1.679 GB, free: 2.723 MB / 1.354 GB Notification: Performance of NFConvertDAE.convert: time 0.01723/1.403, allocations: 6.692 MB / 1.685 GB, free: 12.01 MB / 1.37 GB Notification: Performance of FrontEnd - DAE generated: time 9.468e-06/1.403, allocations: 7.984 kB / 1.685 GB, free: 12 MB / 1.37 GB Notification: Performance of FrontEnd: time 2.004e-06/1.403, allocations: 0 / 1.685 GB, free: 12 MB / 1.37 GB Notification: Performance of Transformations before backend: time 0.0003077/1.403, allocations: 0 / 1.685 GB, free: 12 MB / 1.37 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.01285/1.416, allocations: 4.228 MB / 1.69 GB, free: 7.719 MB / 1.37 GB Notification: Performance of prepare preOptimizeDAE: time 5.205e-05/1.416, allocations: 12.92 kB / 1.69 GB, free: 7.707 MB / 1.37 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006776/1.423, allocations: 0.9616 MB / 1.69 GB, free: 6.742 MB / 1.37 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007311/1.43, allocations: 2.331 MB / 1.693 GB, free: 4.328 MB / 1.37 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004591/1.431, allocations: 324.6 kB / 1.693 GB, free: 3.984 MB / 1.37 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001195/1.432, allocations: 288 kB / 1.693 GB, free: 3.703 MB / 1.37 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01037/1.442, allocations: 3.99 MB / 1.697 GB, free: 15.47 MB / 1.385 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001134/1.443, allocations: 11.92 kB / 1.697 GB, free: 15.46 MB / 1.385 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006641/1.443, allocations: 116 kB / 1.697 GB, free: 15.35 MB / 1.385 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001721/1.443, allocations: 109.3 kB / 1.697 GB, free: 15.24 MB / 1.385 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007402/1.451, allocations: 2.789 MB / 1.7 GB, free: 12.44 MB / 1.385 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.02087/1.472, allocations: 7.576 MB / 1.708 GB, free: 4.746 MB / 1.385 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003819/1.476, allocations: 1.597 MB / 1.709 GB, free: 3.152 MB / 1.385 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002012/1.478, allocations: 1.032 MB / 1.71 GB, free: 2.125 MB / 1.385 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004494/1.478, allocations: 89.92 kB / 1.71 GB, free: 2.035 MB / 1.385 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.968e-05/1.478, allocations: 56.56 kB / 1.71 GB, free: 1.973 MB / 1.385 GB Notification: Performance of pre-optimization done (n=182): time 6.342e-06/1.478, allocations: 0 / 1.71 GB, free: 1.973 MB / 1.385 GB Notification: Performance of matching and sorting (n=182): time 0.7723/2.25, allocations: 2.732 MB / 1.713 GB, free: 354.9 MB / 1.385 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.243e-05/2.25, allocations: 75.23 kB / 1.713 GB, free: 354.9 MB / 1.385 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003323/2.254, allocations: 1.878 MB / 1.715 GB, free: 354.3 MB / 1.385 GB Notification: Performance of collectPreVariables (initialization): time 0.0004418/2.254, allocations: 68.11 kB / 1.715 GB, free: 354.3 MB / 1.385 GB Notification: Performance of collectInitialEqns (initialization): time 0.001171/2.255, allocations: 1.447 MB / 1.716 GB, free: 353.5 MB / 1.385 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008533/2.256, allocations: 0.6754 MB / 1.717 GB, free: 353.1 MB / 1.385 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000728/2.257, allocations: 386.8 kB / 1.717 GB, free: 352.9 MB / 1.385 GB Notification: Performance of setup shared object (initialization): time 4.73e-05/2.257, allocations: 302.9 kB / 1.718 GB, free: 352.6 MB / 1.385 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001673/2.259, allocations: 0.8118 MB / 1.718 GB, free: 352.3 MB / 1.385 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002253/2.261, allocations: 2.064 MB / 1.72 GB, free: 350.5 MB / 1.385 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003445/2.264, allocations: 2.258 MB / 1.723 GB, free: 349.2 MB / 1.385 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.237e-05/2.264, allocations: 5.656 kB / 1.723 GB, free: 349.2 MB / 1.385 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.004414/2.269, allocations: 2.503 MB / 1.725 GB, free: 348.2 MB / 1.385 GB Notification: Performance of prepare postOptimizeDAE: time 3.274e-05/2.269, allocations: 12.91 kB / 1.725 GB, free: 348.2 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.374e-05/2.269, allocations: 17.89 kB / 1.725 GB, free: 348.2 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.695e-05/2.269, allocations: 26.53 kB / 1.725 GB, free: 348.2 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002495/2.271, allocations: 0.5435 MB / 1.726 GB, free: 348.2 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001366/2.273, allocations: 4.149 MB / 1.73 GB, free: 344 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002787/2.276, allocations: 210.4 kB / 1.73 GB, free: 344 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002386/2.276, allocations: 92.11 kB / 1.73 GB, free: 343.9 MB / 1.385 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003203/2.279, allocations: 1.465 MB / 1.731 GB, free: 343.3 MB / 1.385 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002684/2.282, allocations: 2.052 MB / 1.733 GB, free: 341.5 MB / 1.385 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004712/2.286, allocations: 2.244 MB / 1.736 GB, free: 340.2 MB / 1.385 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.008e-05/2.286, allocations: 3.844 kB / 1.736 GB, free: 340.2 MB / 1.385 GB Notification: Performance of matching and sorting (n=257) (initialization_lambda0): time 0.004544/2.291, allocations: 2.485 MB / 1.738 GB, free: 339.2 MB / 1.385 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/2.291, allocations: 12.39 kB / 1.738 GB, free: 339.2 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.378e-05/2.291, allocations: 14.03 kB / 1.738 GB, free: 339.2 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.604e-05/2.291, allocations: 25.81 kB / 1.738 GB, free: 339.2 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001744/2.293, allocations: 471.8 kB / 1.739 GB, free: 339.2 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.595e-05/2.293, allocations: 30.33 kB / 1.739 GB, free: 339.2 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002624/2.295, allocations: 195.9 kB / 1.739 GB, free: 339.1 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001869/2.296, allocations: 89.58 kB / 1.739 GB, free: 339.1 MB / 1.385 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.000705/2.296, allocations: 322 kB / 1.739 GB, free: 338.8 MB / 1.385 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007969/2.297, allocations: 272 kB / 1.739 GB, free: 338.7 MB / 1.385 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003588/2.301, allocations: 2.094 MB / 1.742 GB, free: 337.8 MB / 1.385 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/2.301, allocations: 18.66 kB / 1.742 GB, free: 337.8 MB / 1.385 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.229e-05/2.301, allocations: 3.625 kB / 1.742 GB, free: 337.8 MB / 1.385 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002387/2.303, allocations: 1.893 MB / 1.743 GB, free: 337 MB / 1.385 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007537/2.311, allocations: 4.475 MB / 1.748 GB, free: 333.4 MB / 1.385 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/2.311, allocations: 4 kB / 1.748 GB, free: 333.4 MB / 1.385 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002067/2.313, allocations: 0.4986 MB / 1.748 GB, free: 333 MB / 1.385 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.201e-05/2.313, allocations: 8 kB / 1.748 GB, free: 333 MB / 1.385 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/2.313, allocations: 51.31 kB / 1.748 GB, free: 332.9 MB / 1.385 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001059/2.314, allocations: 4.126 MB / 1.752 GB, free: 328.7 MB / 1.385 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/2.314, allocations: 6.781 kB / 1.752 GB, free: 328.7 MB / 1.385 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003712/2.318, allocations: 3.221 MB / 1.755 GB, free: 325.7 MB / 1.385 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001234/2.319, allocations: 0.4891 MB / 1.756 GB, free: 325.3 MB / 1.385 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003035/2.319, allocations: 47.69 kB / 1.756 GB, free: 325.3 MB / 1.385 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001591/2.321, allocations: 88.34 kB / 1.756 GB, free: 325.2 MB / 1.385 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000206/2.321, allocations: 119.5 kB / 1.756 GB, free: 325.2 MB / 1.385 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001124/2.321, allocations: 72.09 kB / 1.756 GB, free: 325.1 MB / 1.385 GB Notification: Performance of sorting global known variables: time 0.001449/2.323, allocations: 1.232 MB / 1.757 GB, free: 324.1 MB / 1.385 GB Notification: Performance of sort global known variables: time 8e-08/2.323, allocations: 0 / 1.757 GB, free: 324.1 MB / 1.385 GB Notification: Performance of remove unused functions: time 0.003496/2.326, allocations: 1.758 MB / 1.759 GB, free: 322.4 MB / 1.385 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.0005736/2.327, allocations: 355.1 kB / 1.76 GB, free: 322.2 MB / 1.385 GB Notification: Performance of simCode: created initialization part: time 0.005084/2.332, allocations: 3.133 MB / 1.763 GB, free: 319.4 MB / 1.385 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/2.332, allocations: 7.938 kB / 1.763 GB, free: 319.4 MB / 1.385 GB Notification: Performance of simCode: created simulation system equations: time 0.001308/2.333, allocations: 0.9699 MB / 1.764 GB, free: 318.5 MB / 1.385 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005596/2.339, allocations: 1.422 MB / 1.765 GB, free: 317.2 MB / 1.385 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008733/2.347, allocations: 6.663 MB / 1.771 GB, free: 310.7 MB / 1.385 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001411/2.349, allocations: 1.652 MB / 1.773 GB, free: 309 MB / 1.385 GB Notification: Performance of simCode: alias equations: time 0.003321/2.352, allocations: 1.071 MB / 1.774 GB, free: 308 MB / 1.385 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005844/2.353, allocations: 211.4 kB / 1.774 GB, free: 307.8 MB / 1.385 GB Notification: Performance of SimCode: time 1.673e-06/2.353, allocations: 0 / 1.774 GB, free: 307.8 MB / 1.385 GB Notification: Performance of Templates: time 0.08575/2.438, allocations: 59.18 MB / 1.832 GB, free: 249.9 MB / 1.385 GB " [Timeout remaining time 298] make -j1 -f Buildings_13_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo Buildings_13_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/Buildings_13_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./Buildings_13_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 13.687548686750233]