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.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(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.0009146/0.0009145, allocations: 98.53 kB / 15.05 MB, free: 1.105 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.000976/0.000976, allocations: 177.3 kB / 15.94 MB, free: 228 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.349/1.349, allocations: 223.2 MB / 239.9 MB, free: 5.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.962/0.962, allocations: 143.3 MB / 434.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002988/0.0002988, allocations: 12 kB / 0.5158 GB, free: 11.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1513, allocations: 83.42 MB / 0.5973 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource): time 0.517/0.6683, allocations: 247.5 MB / 0.839 GB, free: 4.379 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.362/1.03, allocations: 23.94 MB / 0.8623 GB, free: 9.023 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003139/1.034, allocations: 100.9 kB / 0.8624 GB, free: 9.023 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004515/1.038, allocations: 1.716 MB / 0.8641 GB, free: 9.02 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01528/1.053, allocations: 5.875 MB / 0.8699 GB, free: 8.953 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006999/1.06, allocations: 2.721 MB / 0.8725 GB, free: 8.91 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00802/1.068, allocations: 5.143 MB / 0.8775 GB, free: 8.898 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004029/1.073, allocations: 2.577 MB / 0.88 GB, free: 24.54 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006476/1.079, allocations: 2.614 MB / 0.8826 GB, free: 24.53 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004232/1.083, allocations: 1.91 MB / 0.8845 GB, free: 24.52 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0007316/1.084, allocations: 151.1 kB / 0.8846 GB, free: 24.52 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007949/1.092, allocations: 2.093 MB / 0.8867 GB, free: 24.52 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.002722/1.095, allocations: 1.307 MB / 0.8879 GB, free: 24.52 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002486/1.097, allocations: 0.7635 MB / 0.8887 GB, free: 24.49 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.007939/1.105, allocations: 4.754 MB / 0.8933 GB, free: 24.15 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/1.105, allocations: 1 kB / 0.8933 GB, free: 24.15 MB / 0.6856 GB Notification: Performance of FrontEnd: time 3.196e-06/1.105, allocations: 0 / 0.8933 GB, free: 24.15 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001751/1.105, allocations: 0 / 0.8933 GB, free: 24.15 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.008111/1.114, allocations: 3.433 MB / 0.8967 GB, free: 22.45 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.917e-05/1.114, allocations: 8.938 kB / 0.8967 GB, free: 22.45 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006788/1.12, allocations: 0.9417 MB / 0.8976 GB, free: 22.24 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006182/1.127, allocations: 2.235 MB / 0.8998 GB, free: 21.69 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003318/1.127, allocations: 279 kB / 0.9 GB, free: 21.62 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007563/1.128, allocations: 288.7 kB / 0.9003 GB, free: 21.62 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006338/1.134, allocations: 3.325 MB / 0.9036 GB, free: 21.36 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.788e-05/1.134, allocations: 12.23 kB / 0.9036 GB, free: 21.35 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002879/1.134, allocations: 117.8 kB / 0.9037 GB, free: 21.35 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001355/1.135, allocations: 113.6 kB / 0.9038 GB, free: 21.34 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004779/1.139, allocations: 2.8 MB / 0.9065 GB, free: 21.3 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.01665/1.156, allocations: 13.28 MB / 0.9195 GB, free: 12.57 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002507/1.159, allocations: 1.719 MB / 0.9212 GB, free: 12.34 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001514/1.159, allocations: 64.36 kB / 0.9212 GB, free: 12.33 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.142e-05/1.159, allocations: 63.48 kB / 0.9213 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=186): time 4.618e-06/1.159, allocations: 0 / 0.9213 GB, free: 12.29 MB / 0.6856 GB Notification: Performance of matching and sorting (n=186): time 0.004473/1.163, allocations: 2.792 MB / 0.924 GB, free: 11.76 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.632e-05/1.163, allocations: 71.09 kB / 0.9241 GB, free: 11.7 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002269/1.166, allocations: 1.978 MB / 0.926 GB, free: 11.13 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0002473/1.166, allocations: 68.58 kB / 0.9261 GB, free: 11.1 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007547/1.167, allocations: 1.406 MB / 0.9275 GB, free: 10.43 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005397/1.167, allocations: 0.6498 MB / 0.9281 GB, free: 9.957 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.655e-05/1.167, allocations: 50.34 kB / 0.9282 GB, free: 9.953 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001478/1.167, allocations: 389.7 kB / 0.9285 GB, free: 9.617 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00111/1.169, allocations: 0.8047 MB / 0.9293 GB, free: 9.492 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001395/1.17, allocations: 1.428 MB / 0.9307 GB, free: 8.648 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001374/1.171, allocations: 1.062 MB / 0.9317 GB, free: 8.52 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.796e-06/1.171, allocations: 3.125 kB / 0.9318 GB, free: 8.52 MB / 0.6856 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.003644/1.175, allocations: 2.499 MB / 0.9342 GB, free: 8.07 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 0.00154/1.177, allocations: 5.245 MB / 0.9393 GB, free: 2.473 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/1.177, allocations: 11.75 kB / 0.9393 GB, free: 2.473 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.984e-05/1.177, allocations: 24.12 kB / 0.9393 GB, free: 2.473 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002561/1.179, allocations: 0.5663 MB / 0.9399 GB, free: 2.387 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002024/1.181, allocations: 4.153 MB / 0.944 GB, free: 14.25 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003833/1.185, allocations: 410.4 kB / 0.9443 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001617/1.185, allocations: 88.92 kB / 0.9444 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.236e-05/1.185, allocations: 7.109 kB / 0.9444 GB, free: 14.05 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003164/1.189, allocations: 2.238 MB / 0.9466 GB, free: 13.76 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.563e-05/1.189, allocations: 15.5 kB / 0.9466 GB, free: 13.76 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.141e-05/1.189, allocations: 23.94 kB / 0.9467 GB, free: 13.76 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001736/1.19, allocations: 484.7 kB / 0.9471 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.677e-05/1.19, allocations: 29.61 kB / 0.9472 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003483/1.194, allocations: 393.1 kB / 0.9475 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/1.194, allocations: 87.55 kB / 0.9476 GB, free: 13.52 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.001696/1.196, allocations: 0.8602 MB / 0.9485 GB, free: 13.23 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005344/1.196, allocations: 271.6 kB / 0.9487 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003038/1.199, allocations: 2.152 MB / 0.9508 GB, free: 12.67 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/1.199, allocations: 23.14 kB / 0.9508 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.106e-06/1.199, allocations: 1.344 kB / 0.9508 GB, free: 12.66 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002335/1.202, allocations: 1.918 MB / 0.9527 GB, free: 12.17 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008075/1.21, allocations: 5.242 MB / 0.9578 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.127e-06/1.21, allocations: 3.281 kB / 0.9578 GB, free: 10.61 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002282/1.212, allocations: 0.5038 MB / 0.9583 GB, free: 10.52 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.728e-05/1.212, allocations: 10.62 kB / 0.9583 GB, free: 10.52 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001258/1.212, allocations: 55.59 kB / 0.9584 GB, free: 10.52 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001736/1.214, allocations: 4.125 MB / 0.9624 GB, free: 6.383 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.19e-06/1.214, allocations: 5.844 kB / 0.9624 GB, free: 6.383 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00445/1.218, allocations: 3.515 MB / 0.9659 GB, free: 5.289 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002069/1.221, allocations: 0.5812 MB / 0.9664 GB, free: 4.82 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008655/1.221, allocations: 40.38 kB / 0.9665 GB, free: 4.809 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002866/1.224, allocations: 253.3 kB / 0.9667 GB, free: 4.59 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002144/1.225, allocations: 124.1 kB / 0.9668 GB, free: 4.484 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001641/1.225, allocations: 73.09 kB / 0.9669 GB, free: 4.426 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002301/1.227, allocations: 1.319 MB / 0.9682 GB, free: 3.441 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.41e-07/1.227, allocations: 0 / 0.9682 GB, free: 3.441 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.005529/1.233, allocations: 1.723 MB / 0.9699 GB, free: 1.812 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 (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.001122/1.234, allocations: 394.7 kB / 0.9702 GB, free: 1.508 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.006232/1.24, allocations: 3.348 MB / 0.9735 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.553e-06/1.24, allocations: 4 kB / 0.9735 GB, free: 15.19 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001674/1.242, allocations: 1.042 MB / 0.9745 GB, free: 14.48 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00825/1.25, allocations: 1.574 MB / 0.9761 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01135/1.261, allocations: 7.903 MB / 0.9838 GB, free: 5.898 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002084/1.263, allocations: 2.251 MB / 0.986 GB, free: 3.75 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.004008/1.267, allocations: 1.119 MB / 0.9871 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007052/1.268, allocations: 231.2 kB / 0.9873 GB, free: 2.41 MB / 0.7169 GB Notification: Performance of SimCode: time 1.553e-06/1.268, allocations: 4 kB / 0.9873 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of Templates: time 0.08433/1.352, allocations: 52.18 MB / 1.038 GB, free: 15.23 MB / 0.7794 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: