Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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(BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.0007059/0.0007059, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0007289/0.0007289, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.172/1.172, allocations: 223.3 MB / 240 MB, free: 5.309 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8625/0.8625, allocations: 143.2 MB / 434.2 MB, free: 13.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002738/0.0002739, allocations: 12 kB / 0.5158 GB, free: 11.54 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1296, allocations: 83.41 MB / 0.5972 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.7458/0.8754, allocations: 279 MB / 0.8697 GB, free: 9.43 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02282/0.8983, allocations: 24.21 MB / 0.8934 GB, free: 9.129 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002637/0.901, allocations: 102.1 kB / 0.8935 GB, free: 9.129 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002686/0.9037, allocations: 1.203 MB / 0.8946 GB, free: 9.113 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0089/0.9126, allocations: 4.371 MB / 0.8989 GB, free: 8.922 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005286/0.9179, allocations: 1.957 MB / 0.9008 GB, free: 8.875 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.01275/0.9306, allocations: 10.45 MB / 0.911 GB, free: 8.863 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004418/0.9351, allocations: 2.536 MB / 0.9135 GB, free: 24.5 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007102/0.9422, allocations: 3.195 MB / 0.9166 GB, free: 24.48 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005267/0.9475, allocations: 2.829 MB / 0.9194 GB, free: 24.47 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.001078/0.9486, allocations: 152.3 kB / 0.9195 GB, free: 24.47 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007706/0.9563, allocations: 2.412 MB / 0.9219 GB, free: 24.42 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002537/0.9589, allocations: 1.432 MB / 0.9233 GB, free: 24.42 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002294/0.9612, allocations: 0.7616 MB / 0.924 GB, free: 24.39 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006171/0.9674, allocations: 4.985 MB / 0.9289 GB, free: 23.41 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.9674, allocations: 2.188 kB / 0.9289 GB, free: 23.41 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.023e-06/0.9674, allocations: 0 / 0.9289 GB, free: 23.41 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.000176/0.9676, allocations: 1.75 kB / 0.9289 GB, free: 23.41 MB / 0.6856 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.005845/0.9734, allocations: 3.494 MB / 0.9323 GB, free: 21.28 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.18e-05/0.9735, allocations: 9.719 kB / 0.9323 GB, free: 21.28 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004904/0.9784, allocations: 0.9439 MB / 0.9332 GB, free: 20.89 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00355/0.9819, allocations: 2.392 MB / 0.9356 GB, free: 19.89 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001775/0.9821, allocations: 280.1 kB / 0.9358 GB, free: 19.82 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003014/0.9824, allocations: 289.2 kB / 0.9361 GB, free: 19.81 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004273/0.9867, allocations: 3.354 MB / 0.9394 GB, free: 18.9 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.783e-05/0.9868, allocations: 5 kB / 0.9394 GB, free: 18.9 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002085/0.987, allocations: 116 kB / 0.9395 GB, free: 18.89 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.128e-05/0.9871, allocations: 112.8 kB / 0.9396 GB, free: 18.88 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003463/0.9905, allocations: 2.799 MB / 0.9423 GB, free: 18.39 MB / 0.6856 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.01167/1.002, allocations: 13.29 MB / 0.9553 GB, free: 9.188 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001984/1.004, allocations: 1.72 MB / 0.957 GB, free: 8.949 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001136/1.005, allocations: 1.125 MB / 0.9581 GB, free: 8.797 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004009/1.006, allocations: 330.4 kB / 0.9584 GB, free: 8.492 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.215e-05/1.006, allocations: 63.06 kB / 0.9585 GB, free: 8.453 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=186): time 3.336e-06/1.006, allocations: 4 kB / 0.9585 GB, free: 8.449 MB / 0.6856 GB Notification: Performance of matching and sorting (n=186): time 0.003853/1.01, allocations: 2.79 MB / 0.9612 GB, free: 7.918 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.03e-05/1.01, allocations: 70.62 kB / 0.9613 GB, free: 7.852 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001921/1.012, allocations: 1.981 MB / 0.9632 GB, free: 7.289 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001331/1.012, allocations: 70.86 kB / 0.9633 GB, free: 7.258 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007642/1.013, allocations: 1.405 MB / 0.9646 GB, free: 6.59 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005169/1.013, allocations: 0.649 MB / 0.9653 GB, free: 6.109 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.601e-05/1.013, allocations: 40.94 kB / 0.9653 GB, free: 6.109 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001406/1.013, allocations: 384.9 kB / 0.9657 GB, free: 5.781 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001003/1.014, allocations: 0.8104 MB / 0.9665 GB, free: 5.652 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001412/1.016, allocations: 1.438 MB / 0.9679 GB, free: 4.809 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/1.017, allocations: 1.059 MB / 0.9689 GB, free: 4.68 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.064e-06/1.017, allocations: 3.344 kB / 0.9689 GB, free: 4.68 MB / 0.6856 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.003172/1.02, allocations: 2.511 MB / 0.9714 GB, free: 3.664 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002488/1.02, allocations: 472.1 kB / 0.9718 GB, free: 3.078 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.803e-05/1.02, allocations: 12 kB / 0.9718 GB, free: 3.066 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.093e-05/1.021, allocations: 24 kB / 0.9719 GB, free: 3.043 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002224/1.023, allocations: 0.5604 MB / 0.9724 GB, free: 2.531 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001856/1.025, allocations: 4.153 MB / 0.9765 GB, free: 14.28 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002546/1.027, allocations: 409.6 kB / 0.9768 GB, free: 13.91 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001334/1.027, allocations: 88.17 kB / 0.9769 GB, free: 13.84 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 8.155e-06/1.027, allocations: 4 kB / 0.9769 GB, free: 13.84 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002934/1.03, allocations: 2.244 MB / 0.9791 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.607e-05/1.03, allocations: 13.5 kB / 0.9791 GB, free: 12.4 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.848e-05/1.03, allocations: 24 kB / 0.9792 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00158/1.032, allocations: 482.3 kB / 0.9796 GB, free: 11.95 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.314e-05/1.032, allocations: 34.08 kB / 0.9797 GB, free: 11.92 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002421/1.034, allocations: 392.6 kB / 0.98 GB, free: 11.57 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/1.035, allocations: 87.72 kB / 0.9801 GB, free: 11.51 MB / 0.7012 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.001339/1.036, allocations: 0.8586 MB / 0.981 GB, free: 10.93 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003712/1.036, allocations: 280.7 kB / 0.9812 GB, free: 10.66 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002974/1.039, allocations: 2.149 MB / 0.9833 GB, free: 9.25 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/1.039, allocations: 19.98 kB / 0.9833 GB, free: 9.23 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/1.039, allocations: 4 kB / 0.9833 GB, free: 9.227 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002296/1.042, allocations: 1.93 MB / 0.9852 GB, free: 7.832 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007153/1.049, allocations: 5.231 MB / 0.9903 GB, free: 4.188 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.025e-06/1.049, allocations: 4 kB / 0.9903 GB, free: 4.184 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002083/1.051, allocations: 0.506 MB / 0.9908 GB, free: 3.719 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-05/1.051, allocations: 12 kB / 0.9908 GB, free: 3.707 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001238/1.051, allocations: 55.59 kB / 0.9909 GB, free: 3.68 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001809/1.053, allocations: 4.13 MB / 0.9949 GB, free: 15.44 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.37e-06/1.053, allocations: 6.906 kB / 0.9949 GB, free: 15.44 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004197/1.057, allocations: 3.281 MB / 0.9981 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001208/1.058, allocations: 0.5704 MB / 0.9987 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004225/1.059, allocations: 49.23 kB / 0.9987 GB, free: 12.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001961/1.061, allocations: 245.9 kB / 0.999 GB, free: 12.38 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000173/1.061, allocations: 122 kB / 0.9991 GB, free: 12.27 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001284/1.061, allocations: 75.7 kB / 0.9992 GB, free: 12.21 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001758/1.063, allocations: 1.311 MB / 1 GB, free: 11.24 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.1e-07/1.063, allocations: 0 / 1 GB, free: 11.24 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003698/1.066, allocations: 1.729 MB / 1.002 GB, free: 9.605 MB / 0.7169 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.000687/1.067, allocations: 384.7 kB / 1.003 GB, free: 9.309 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.005265/1.072, allocations: 3.35 MB / 1.006 GB, free: 6.996 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.503e-06/1.072, allocations: 5.75 kB / 1.006 GB, free: 6.992 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001488/1.074, allocations: 1.052 MB / 1.007 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006653/1.081, allocations: 1.619 MB / 1.008 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009356/1.09, allocations: 7.931 MB / 1.016 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001568/1.092, allocations: 2.187 MB / 1.018 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.003524/1.095, allocations: 1.115 MB / 1.019 GB, free: 10.45 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005503/1.096, allocations: 229.7 kB / 1.02 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of SimCode: time 7.92e-07/1.096, allocations: 0 / 1.02 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of Templates: time 0.07265/1.168, allocations: 52.25 MB / 1.071 GB, free: 6.879 MB / 0.7794 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)