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.7571/0.7571, allocations: 128.7 MB / 143.7 MB, free: 2.309 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001123/0.001122, allocations: 184.2 kB / 173.7 MB, free: 6.113 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.948/1.948, allocations: 205.4 MB / 409 MB, free: 10.49 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.001074/0.001074, allocations: 98.03 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003675/0.0003675, allocations: 8.5 kB / 0.5604 GB, free: 97.52 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.183/0.1834, allocations: 76.77 MB / 0.6354 GB, free: 30.45 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.537/5.721, allocations: 2.167 GB / 2.802 GB, free: 209.4 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002482/5.721, allocations: 98.7 kB / 2.803 GB, free: 209.4 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 7.2/12.92, allocations: 2.035 GB / 4.838 GB, free: 25.3 MB / 0.7292 GB Notification: Performance of FrontEnd: time 3.136e-06/12.92, allocations: 7.938 kB / 4.838 GB, free: 25.29 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0003635/12.92, allocations: 104 kB / 4.838 GB, free: 25.19 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.01506/12.94, allocations: 4.202 MB / 4.842 GB, free: 20.91 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 5.186e-05/12.94, allocations: 8.031 kB / 4.842 GB, free: 20.9 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002218/12.94, allocations: 429.2 kB / 4.842 GB, free: 20.47 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008003/12.95, allocations: 0.9634 MB / 4.843 GB, free: 19.51 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007839/12.96, allocations: 2.609 MB / 4.846 GB, free: 16.82 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003076/12.96, allocations: 301.9 kB / 4.846 GB, free: 16.51 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009797/12.96, allocations: 323.9 kB / 4.846 GB, free: 16.2 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008596/12.97, allocations: 3.727 MB / 4.85 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.44e-05/12.97, allocations: 7.938 kB / 4.85 GB, free: 12.38 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004347/12.97, allocations: 128 kB / 4.85 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.745e-05/12.97, allocations: 116.2 kB / 4.85 GB, free: 12.14 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006303/12.97, allocations: 3.138 MB / 4.853 GB, free: 8.992 MB / 0.7292 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.02298/13, allocations: 15.04 MB / 4.868 GB, free: 8.695 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004837/13, allocations: 1.968 MB / 4.87 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005768/13, allocations: 333.2 kB / 4.87 GB, free: 6.352 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.176e-05/13, allocations: 56.8 kB / 4.87 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=192): time 4.018e-06/13, allocations: 0 / 4.87 GB, free: 6.289 MB / 0.7448 GB Notification: Performance of matching and sorting (n=192): time 0.009651/13.01, allocations: 3.239 MB / 4.874 GB, free: 3.047 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.93e-05/13.01, allocations: 77.41 kB / 4.874 GB, free: 2.957 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003674/13.01, allocations: 1.789 MB / 4.875 GB, free: 1.156 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0005546/13.01, allocations: 73.7 kB / 4.875 GB, free: 1.078 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.6135/13.63, allocations: 1.496 MB / 4.877 GB, free: 63.72 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.001354/13.63, allocations: 0.6754 MB / 4.878 GB, free: 63.46 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001643/13.63, allocations: 45.47 kB / 4.878 GB, free: 63.46 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001757/13.63, allocations: 396.2 kB / 4.878 GB, free: 63.16 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001873/13.63, allocations: 0.9223 MB / 4.879 GB, free: 63.15 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002381/13.63, allocations: 1.641 MB / 4.88 GB, free: 62.34 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002648/13.64, allocations: 1.281 MB / 4.882 GB, free: 62.23 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.409e-05/13.64, allocations: 3.344 kB / 4.882 GB, free: 62.23 MB / 0.7448 GB Notification: Performance of matching and sorting (n=286) (initialization): time 0.006276/13.64, allocations: 2.923 MB / 4.885 GB, free: 61.92 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.001793/13.65, allocations: 6.728 MB / 4.891 GB, free: 54.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.126e-05/13.65, allocations: 17.16 kB / 4.891 GB, free: 54.81 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.437e-05/13.65, allocations: 29.06 kB / 4.891 GB, free: 54.81 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007438/13.65, allocations: 1.122 MB / 4.892 GB, free: 54.81 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004455/13.66, allocations: 4.611 MB / 4.897 GB, free: 50.71 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00515/13.66, allocations: 446.9 kB / 4.897 GB, free: 50.65 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005193/13.66, allocations: 108.9 kB / 4.897 GB, free: 50.65 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/13.66, allocations: 10.36 kB / 4.897 GB, free: 50.65 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004418/13.67, allocations: 2.505 MB / 4.9 GB, free: 50.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.024e-05/13.67, allocations: 15.53 kB / 4.9 GB, free: 50.51 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.895e-05/13.67, allocations: 30.03 kB / 4.9 GB, free: 50.51 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001812/13.67, allocations: 0.5134 MB / 4.9 GB, free: 50.51 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.596e-05/13.67, allocations: 36.3 kB / 4.9 GB, free: 50.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004121/13.67, allocations: 383.4 kB / 4.901 GB, free: 50.46 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002352/13.67, allocations: 97.12 kB / 4.901 GB, free: 50.46 MB / 0.7448 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 () * Number of clocked 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.002811/13.68, allocations: 0.9133 MB / 4.902 GB, free: 50.27 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001026/13.68, allocations: 286.4 kB / 4.902 GB, free: 50.12 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009201/13.68, allocations: 311.4 kB / 4.902 GB, free: 50.09 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.253e-05/13.68, allocations: 22.97 kB / 4.902 GB, free: 50.09 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.936e-05/13.68, allocations: 0 / 4.902 GB, free: 50.09 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003298/13.68, allocations: 2.061 MB / 4.904 GB, free: 49.79 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01097/13.69, allocations: 5.515 MB / 4.91 GB, free: 49.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/13.69, allocations: 3.969 kB / 4.91 GB, free: 49.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006952/13.7, allocations: 1.176 MB / 4.911 GB, free: 49.27 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.635e-05/13.7, allocations: 12.09 kB / 4.911 GB, free: 49.27 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002325/13.7, allocations: 54.66 kB / 4.911 GB, free: 49.27 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01368/13.71, allocations: 10.6 MB / 4.921 GB, free: 40.06 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.502e-06/13.71, allocations: 3.562 kB / 4.921 GB, free: 40.06 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007696/13.72, allocations: 3.896 MB / 4.925 GB, free: 39.3 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00263/13.72, allocations: 0.6047 MB / 4.926 GB, free: 39.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000608/13.73, allocations: 46.38 kB / 4.926 GB, free: 39.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00298/13.73, allocations: 296.9 kB / 4.926 GB, free: 39.05 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000392/13.73, allocations: 134.7 kB / 4.926 GB, free: 39.05 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000192/13.73, allocations: 81.67 kB / 4.926 GB, free: 39.05 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.002634/13.73, allocations: 1.369 MB / 4.928 GB, free: 38.91 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.5e-07/13.73, allocations: 1.312 kB / 4.928 GB, free: 38.91 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.00914/13.74, allocations: 2.289 MB / 4.93 GB, free: 38.77 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 () * Number of clocked 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.01437/13.75, allocations: 9.968 MB / 4.939 GB, free: 34.59 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01248/13.77, allocations: 4.43 MB / 4.944 GB, free: 34.16 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.927e-05/13.77, allocations: 1.5 kB / 4.944 GB, free: 34.16 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.006795/13.77, allocations: 1.706 MB / 4.945 GB, free: 34.16 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009268/13.78, allocations: 1.604 MB / 4.947 GB, free: 34.12 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02278/13.81, allocations: 20.47 MB / 4.967 GB, free: 35.43 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002167/13.81, allocations: 2.322 MB / 4.969 GB, free: 34.67 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.004878/13.81, allocations: 1.109 MB / 4.97 GB, free: 34.64 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002187/13.82, allocations: 1.342 MB / 4.972 GB, free: 34.64 MB / 0.7605 GB Notification: Performance of SimCode: time 8.82e-07/13.82, allocations: 0.5625 kB / 4.972 GB, free: 34.64 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2382/14.05, allocations: 141.3 MB / 5.11 GB, free: 19.24 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001942/14.05, allocations: 261.8 kB / 5.11 GB, free: 18.89 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.401/21.46, allocations: 0 / 5.11 GB, free: 18.89 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)