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.7041/0.7041, allocations: 127.4 MB / 134.9 MB, free: 3.73 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.00143/0.00143, allocations: 176.9 kB / 164.6 MB, free: 6.516 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.656/1.656, allocations: 205.2 MB / 399.5 MB, free: 5.863 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.0009038/0.0009037, allocations: 84.84 kB / 476.7 MB, free: 8.59 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.492e-05/2.507e-05, allocations: 4 kB / 0.5467 GB, free: 60.38 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1584/0.1585, allocations: 76.76 MB / 0.6216 GB, free: 15.55 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.06/5.218, allocations: 2.167 GB / 2.788 GB, free: 64.07 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000305/5.219, allocations: 91.28 kB / 2.788 GB, free: 63.98 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.875/13.09, allocations: 2.011 GB / 4.799 GB, free: 49.81 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.603e-06/13.09, allocations: 0 / 4.799 GB, free: 49.81 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.000418/13.09, allocations: 104.9 kB / 4.799 GB, free: 49.79 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.01231/13.11, allocations: 3.703 MB / 4.803 GB, free: 48.26 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/13.11, allocations: 10 kB / 4.803 GB, free: 48.26 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007487/13.11, allocations: 0.9619 MB / 4.804 GB, free: 48.05 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007393/13.12, allocations: 2.6 MB / 4.806 GB, free: 47.45 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000238/13.12, allocations: 184.3 kB / 4.807 GB, free: 47.38 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009567/13.12, allocations: 201.5 kB / 4.807 GB, free: 47.37 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00672/13.13, allocations: 2.664 MB / 4.809 GB, free: 47.36 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00673/13.14, allocations: 2.98 MB / 4.812 GB, free: 47.11 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.656e-05/13.14, allocations: 4.969 kB / 4.812 GB, free: 47.11 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003828/13.14, allocations: 7.031 kB / 4.812 GB, free: 47.11 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001037/13.14, allocations: 109.3 kB / 4.812 GB, free: 47.1 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.02074/13.16, allocations: 14.48 MB / 4.827 GB, free: 39.35 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00244/13.16, allocations: 1.626 MB / 4.828 GB, free: 39.31 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001261/13.16, allocations: 1.015 MB / 4.829 GB, free: 39.29 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004613/13.16, allocations: 329.6 kB / 4.83 GB, free: 39.01 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.81e-05/13.16, allocations: 63.45 kB / 4.83 GB, free: 38.97 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=192): time 4.479e-06/13.16, allocations: 0 / 4.83 GB, free: 38.97 MB / 0.7292 GB Notification: Performance of matching and sorting (n=192): time 0.005141/13.17, allocations: 2.095 MB / 4.832 GB, free: 38.75 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.071e-05/13.17, allocations: 72.62 kB / 4.832 GB, free: 38.69 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002265/13.17, allocations: 1.474 MB / 4.833 GB, free: 38.48 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0003301/13.17, allocations: 31.7 kB / 4.833 GB, free: 38.45 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008677/13.17, allocations: 1.49 MB / 4.835 GB, free: 37.82 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005795/13.17, allocations: 0.6517 MB / 4.835 GB, free: 37.39 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001094/13.17, allocations: 0 / 4.835 GB, free: 37.39 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001364/13.17, allocations: 395.3 kB / 4.836 GB, free: 37.09 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001092/13.17, allocations: 0.7975 MB / 4.836 GB, free: 37.08 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001406/13.17, allocations: 1.492 MB / 4.838 GB, free: 36.27 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00152/13.18, allocations: 1.078 MB / 4.839 GB, free: 36.25 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.068e-05/13.18, allocations: 7.281 kB / 4.839 GB, free: 36.25 MB / 0.7292 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.004133/13.18, allocations: 2.462 MB / 4.841 GB, free: 36.04 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 0.001527/13.18, allocations: 6.678 MB / 4.848 GB, free: 28.92 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.59e-05/13.18, allocations: 17.31 kB / 4.848 GB, free: 28.92 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.872e-05/13.18, allocations: 30.56 kB / 4.848 GB, free: 28.92 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006525/13.19, allocations: 1.105 MB / 4.849 GB, free: 28.92 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003576/13.19, allocations: 4.519 MB / 4.853 GB, free: 24.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004487/13.2, allocations: 376.2 kB / 4.854 GB, free: 24.72 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003596/13.2, allocations: 109.8 kB / 4.854 GB, free: 24.72 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.266e-05/13.2, allocations: 3.938 kB / 4.854 GB, free: 24.72 MB / 0.7292 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003339/13.2, allocations: 2.091 MB / 4.856 GB, free: 24.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.925e-05/13.2, allocations: 14.41 kB / 4.856 GB, free: 24.67 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.652e-05/13.2, allocations: 32.02 kB / 4.856 GB, free: 24.67 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001759/13.2, allocations: 0.5061 MB / 4.856 GB, free: 24.67 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.826e-05/13.2, allocations: 38.33 kB / 4.856 GB, free: 24.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003548/13.21, allocations: 316.4 kB / 4.857 GB, free: 24.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002089/13.21, allocations: 97.36 kB / 4.857 GB, free: 24.59 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 (282): * Single equations (assignments): 272 * 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.0006271/13.21, allocations: 176.1 kB / 4.857 GB, free: 24.47 MB / 0.7292 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002971/13.21, allocations: 1.865 MB / 4.859 GB, free: 24.26 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004822/13.21, allocations: 259.8 kB / 4.859 GB, free: 24.13 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007635/13.21, allocations: 280.2 kB / 4.859 GB, free: 24.09 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.392e-05/13.21, allocations: 22.31 kB / 4.859 GB, free: 24.09 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.2e-05/13.21, allocations: 0 / 4.859 GB, free: 24.09 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002153/13.21, allocations: 1.819 MB / 4.861 GB, free: 23.78 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008177/13.22, allocations: 4.895 MB / 4.866 GB, free: 23.27 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.085e-06/13.22, allocations: 4.875 kB / 4.866 GB, free: 23.27 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006869/13.23, allocations: 1.177 MB / 4.867 GB, free: 23.27 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.337e-05/13.23, allocations: 9.375 kB / 4.867 GB, free: 23.27 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002304/13.23, allocations: 44.38 kB / 4.867 GB, free: 23.27 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0122/13.24, allocations: 9.695 MB / 4.877 GB, free: 30.47 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.466e-06/13.24, allocations: 5.688 kB / 4.877 GB, free: 30.47 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006235/13.25, allocations: 3.532 MB / 4.88 GB, free: 29.73 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002372/13.25, allocations: 0.5942 MB / 4.881 GB, free: 29.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006354/13.25, allocations: 14.02 kB / 4.881 GB, free: 29.48 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003053/13.25, allocations: 266.6 kB / 4.881 GB, free: 29.45 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002916/13.25, allocations: 133.5 kB / 4.881 GB, free: 29.45 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001692/13.25, allocations: 81.44 kB / 4.881 GB, free: 29.45 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001709/13.26, allocations: 1.092 MB / 4.882 GB, free: 29.3 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.61e-07/13.26, allocations: 0 / 4.882 GB, free: 29.3 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.006535/13.26, allocations: 2.059 MB / 4.884 GB, free: 29.02 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.01264/13.27, allocations: 10.06 MB / 4.894 GB, free: 24.82 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01086/13.29, allocations: 4.116 MB / 4.898 GB, free: 24.39 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.246e-05/13.29, allocations: 2.906 kB / 4.898 GB, free: 24.39 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.005924/13.29, allocations: 1.593 MB / 4.9 GB, free: 24.39 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008625/13.3, allocations: 1.483 MB / 4.901 GB, free: 24.34 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01405/13.31, allocations: 6.374 MB / 4.907 GB, free: 22.47 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001876/13.32, allocations: 2.333 MB / 4.91 GB, free: 21.66 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.005317/13.32, allocations: 1.276 MB / 4.911 GB, free: 21.52 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001686/13.32, allocations: 1.289 MB / 4.912 GB, free: 21.51 MB / 0.7448 GB Notification: Performance of SimCode: time 2.124e-06/13.32, allocations: 0 / 4.912 GB, free: 21.51 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7607/14.08, allocations: 110.1 MB / 5.02 GB, free: 62.85 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002189/14.08, allocations: 182.3 kB / 5.02 GB, free: 62.66 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.314/20.4, allocations: 1.562 kB / 5.02 GB, free: 62.66 MB / 0.7448 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)