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/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_TraceSubstancesFlowSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_TraceSubstancesFlowSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7156/0.7156, allocations: 127.3 MB / 139.8 MB, free: 15.45 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00194/0.00194, allocations: 180.8 kB / 169.7 MB, free: 1.746 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.7/1.7, allocations: 205.1 MB / 404.5 MB, free: 1.645 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001111/0.001112, allocations: 87.67 kB / 481.8 MB, free: 4.293 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.943e-05/3.953e-05, allocations: 4 kB / 0.5533 GB, free: 54.74 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1566, allocations: 76.76 MB / 0.6282 GB, free: 9.922 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.128/5.285, allocations: 2.167 GB / 2.795 GB, free: 160.6 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003058/5.285, allocations: 91.94 kB / 2.795 GB, free: 160.5 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 8.041/13.33, allocations: 2.033 GB / 4.829 GB, free: 56.34 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.836e-06/13.33, allocations: 0 / 4.829 GB, free: 56.34 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0005501/13.33, allocations: 100 kB / 4.829 GB, free: 56.32 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 757 * Number of variables: 757 Notification: Performance of Generate backend data structure: time 0.01373/13.34, allocations: 3.712 MB / 4.832 GB, free: 54.9 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.255e-05/13.34, allocations: 9.75 kB / 4.832 GB, free: 54.9 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001987/13.34, allocations: 420.3 kB / 4.833 GB, free: 54.84 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008505/13.35, allocations: 0.9577 MB / 4.834 GB, free: 54.63 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01129/13.36, allocations: 2.599 MB / 4.836 GB, free: 54.04 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004349/13.36, allocations: 300.3 kB / 4.837 GB, free: 53.96 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001535/13.36, allocations: 321 kB / 4.837 GB, free: 53.96 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01268/13.38, allocations: 3.616 MB / 4.84 GB, free: 53.69 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001768/13.38, allocations: 1.344 kB / 4.84 GB, free: 53.69 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001062/13.38, allocations: 131.2 kB / 4.84 GB, free: 53.69 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000129/13.38, allocations: 106.9 kB / 4.841 GB, free: 53.68 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008147/13.39, allocations: 3.014 MB / 4.844 GB, free: 53.65 MB / 0.7292 GB Warning: The model contains alias variables with conflicting start and/or 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.0252/13.41, allocations: 15.05 MB / 4.858 GB, free: 45.81 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0041/13.42, allocations: 1.874 MB / 4.86 GB, free: 45.77 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001632/13.42, allocations: 1.075 MB / 4.861 GB, free: 45.75 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004964/13.42, allocations: 335 kB / 4.861 GB, free: 45.46 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.131e-05/13.42, allocations: 58.73 kB / 4.861 GB, free: 45.43 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=192): time 4.869e-06/13.42, allocations: 0 / 4.861 GB, free: 45.43 MB / 0.7292 GB Notification: Performance of matching and sorting (n=192): time 0.007495/13.43, allocations: 2.373 MB / 4.864 GB, free: 45.2 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/13.43, allocations: 74.06 kB / 4.864 GB, free: 45.14 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004238/13.43, allocations: 1.765 MB / 4.866 GB, free: 44.91 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0004795/13.43, allocations: 74.98 kB / 4.866 GB, free: 44.88 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.001384/13.43, allocations: 1.505 MB / 4.867 GB, free: 44.29 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008326/13.43, allocations: 0.6756 MB / 4.868 GB, free: 43.86 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002187/13.43, allocations: 48.47 kB / 4.868 GB, free: 43.86 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000202/13.43, allocations: 393 kB / 4.868 GB, free: 43.55 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001588/13.43, allocations: 0.8469 MB / 4.869 GB, free: 43.55 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002147/13.44, allocations: 1.559 MB / 4.871 GB, free: 42.74 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002252/13.44, allocations: 1.221 MB / 4.872 GB, free: 42.62 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-05/13.44, allocations: 3.875 kB / 4.872 GB, free: 42.62 MB / 0.7292 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.005284/13.44, allocations: 2.772 MB / 4.874 GB, free: 42.31 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001501/13.45, allocations: 6.735 MB / 4.881 GB, free: 35.19 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-05/13.45, allocations: 25.12 kB / 4.881 GB, free: 35.19 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.223e-05/13.45, allocations: 27.44 kB / 4.881 GB, free: 35.19 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006402/13.45, allocations: 1.117 MB / 4.882 GB, free: 35.19 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003741/13.46, allocations: 4.478 MB / 4.887 GB, free: 31.1 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004865/13.46, allocations: 453.3 kB / 4.887 GB, free: 30.97 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004546/13.46, allocations: 104.6 kB / 4.887 GB, free: 30.97 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/13.46, allocations: 5 kB / 4.887 GB, free: 30.97 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004687/13.47, allocations: 2.451 MB / 4.889 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-05/13.47, allocations: 19.41 kB / 4.89 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.392e-05/13.47, allocations: 27.38 kB / 4.89 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001955/13.47, allocations: 0.5148 MB / 4.89 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.384e-05/13.47, allocations: 37.2 kB / 4.89 GB, free: 30.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003962/13.47, allocations: 386.7 kB / 4.89 GB, free: 30.73 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003061/13.47, allocations: 100.6 kB / 4.891 GB, free: 30.73 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (286): * Single equations (assignments): 276 * Array equations: 0 * Algorithm blocks: 3 * 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.000788/13.47, allocations: 244.9 kB / 4.891 GB, free: 30.62 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001067/13.47, allocations: 290.2 kB / 4.891 GB, free: 30.48 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001062/13.48, allocations: 315.2 kB / 4.891 GB, free: 30.44 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.709e-05/13.48, allocations: 16.22 kB / 4.891 GB, free: 30.44 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.967e-05/13.48, allocations: 0 / 4.891 GB, free: 30.44 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003/13.48, allocations: 1.92 MB / 4.893 GB, free: 30.13 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0112/13.49, allocations: 5.376 MB / 4.898 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.636e-06/13.49, allocations: 3.781 kB / 4.898 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006621/13.5, allocations: 1.176 MB / 4.9 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.943e-05/13.5, allocations: 15.09 kB / 4.9 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002392/13.5, allocations: 58.88 kB / 4.9 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01229/13.51, allocations: 10.05 MB / 4.91 GB, free: 36.36 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.255e-06/13.51, allocations: 9.688 kB / 4.91 GB, free: 36.36 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006691/13.52, allocations: 3.69 MB / 4.913 GB, free: 35.59 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002303/13.52, allocations: 0.6014 MB / 4.914 GB, free: 35.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009151/13.52, allocations: 44.3 kB / 4.914 GB, free: 35.34 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003605/13.52, allocations: 302.1 kB / 4.914 GB, free: 35.32 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003705/13.52, allocations: 133.1 kB / 4.914 GB, free: 35.32 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003027/13.52, allocations: 82.66 kB / 4.914 GB, free: 35.32 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.002841/13.53, allocations: 1.343 MB / 4.916 GB, free: 35.16 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6.71e-07/13.53, allocations: 0 / 4.916 GB, free: 35.16 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.008426/13.54, allocations: 2.288 MB / 4.918 GB, free: 34.89 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 20 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1],vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol1.dynBal.mC[1],vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1],vol2.dynBal.mC[1],vol3.dynBal.U,vol3.dynBal.m,vol3.dynBal.mXi[1],vol3.dynBal.mC[1],vol4.dynBal.U,vol4.dynBal.m,vol4.dynBal.mXi[1],vol4.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (192): * Single equations (assignments): 185 * 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.01367/13.55, allocations: 9.755 MB / 4.927 GB, free: 30.68 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01165/13.56, allocations: 4.349 MB / 4.932 GB, free: 30.23 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.341e-05/13.56, allocations: 3.5 kB / 4.932 GB, free: 30.23 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.006246/13.57, allocations: 1.632 MB / 4.933 GB, free: 30.23 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009136/13.58, allocations: 1.609 MB / 4.935 GB, free: 30.18 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01808/13.59, allocations: 6.598 MB / 4.941 GB, free: 28.6 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003274/13.6, allocations: 2.33 MB / 4.943 GB, free: 27.8 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.006918/13.6, allocations: 1.364 MB / 4.945 GB, free: 27.65 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002402/13.61, allocations: 1.3 MB / 4.946 GB, free: 27.65 MB / 0.7448 GB Notification: Performance of SimCode: time 2.024e-06/13.61, allocations: 0 / 4.946 GB, free: 27.65 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.828/14.44, allocations: 156.7 MB / 5.099 GB, free: 83.61 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001693/14.44, allocations: 226.1 kB / 5.099 GB, free: 83.3 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.632/22.07, allocations: 0 / 5.099 GB, free: 83.3 MB / 0.7605 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_TraceSubstancesFlowSource_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Sources_Examples_TraceSubstancesFlowSource.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)