Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlow",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.7111/0.7111, allocations: 127.3 MB / 139.8 MB, free: 15.48 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.0009638/0.0009639, allocations: 176.9 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.708/1.708, allocations: 205.1 MB / 404.5 MB, free: 1.582 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.0009177/0.0009177, allocations: 83.38 kB / 481.8 MB, free: 4.242 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.406e-05/3.408e-05, allocations: 4 kB / 0.5533 GB, free: 54.74 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1558/0.1559, allocations: 76.76 MB / 0.6283 GB, free: 9.914 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.528/5.684, allocations: 2.139 GB / 2.767 GB, free: 142 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/5.684, allocations: 89.7 kB / 2.767 GB, free: 142 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.444/9.128, allocations: 0.9479 GB / 3.715 GB, free: 162.4 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.194e-06/9.128, allocations: 0 / 3.715 GB, free: 162.4 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.718e-05/9.128, allocations: 28.88 kB / 3.715 GB, free: 162.4 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001846/9.13, allocations: 1.146 MB / 3.716 GB, free: 161.9 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.02e-05/9.13, allocations: 15.62 kB / 3.716 GB, free: 161.8 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001064/9.13, allocations: 93.48 kB / 3.716 GB, free: 161.8 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007506/9.131, allocations: 184.7 kB / 3.716 GB, free: 161.8 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00213/9.133, allocations: 1.092 MB / 3.717 GB, free: 161.5 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.405e-05/9.133, allocations: 45.97 kB / 3.717 GB, free: 161.5 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.681e-05/9.133, allocations: 54.84 kB / 3.717 GB, free: 161.5 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003661/9.137, allocations: 1.384 MB / 3.719 GB, free: 161.3 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/9.137, allocations: 2.156 kB / 3.719 GB, free: 161.3 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.255e-05/9.137, allocations: 24.44 kB / 3.719 GB, free: 161.3 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.198e-05/9.137, allocations: 11.47 kB / 3.719 GB, free: 161.3 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003305/9.141, allocations: 1.114 MB / 3.72 GB, free: 161.2 MB / 0.6511 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.004289/9.145, allocations: 4.432 MB / 3.724 GB, free: 158 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003149/9.148, allocations: 1.045 MB / 3.725 GB, free: 158 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002618/9.148, allocations: 226 kB / 3.726 GB, free: 158 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002851/9.149, allocations: 198 kB / 3.726 GB, free: 157.8 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002912/9.151, allocations: 0.9022 MB / 3.727 GB, free: 157.7 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=30): time 1.994e-06/9.152, allocations: 0 / 3.727 GB, free: 157.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30): time 0.006103/9.158, allocations: 1.694 MB / 3.728 GB, free: 157.6 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.385e-05/9.158, allocations: 82.64 kB / 3.728 GB, free: 157.5 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00119/9.159, allocations: 0.9735 MB / 3.729 GB, free: 157.4 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.463e-05/9.159, allocations: 38.3 kB / 3.729 GB, free: 157.4 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003458/9.159, allocations: 0.4989 MB / 3.73 GB, free: 157.2 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 9.858e-05/9.159, allocations: 101.9 kB / 3.73 GB, free: 157.2 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.912e-05/9.159, allocations: 10.69 kB / 3.73 GB, free: 157.2 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 7.987e-05/9.16, allocations: 324.3 kB / 3.73 GB, free: 156.8 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003962/9.16, allocations: 333.5 kB / 3.731 GB, free: 156.8 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005491/9.161, allocations: 0.6228 MB / 3.731 GB, free: 156.5 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004618/9.161, allocations: 398.5 kB / 3.732 GB, free: 156.5 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.366e-06/9.161, allocations: 0 / 3.732 GB, free: 156.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001229/9.162, allocations: 0.9205 MB / 3.732 GB, free: 156.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003855/9.163, allocations: 2.049 MB / 3.734 GB, free: 154.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/9.163, allocations: 5.875 kB / 3.734 GB, free: 154.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/9.163, allocations: 9.125 kB / 3.734 GB, free: 154.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01245/9.175, allocations: 2.753 MB / 3.737 GB, free: 154.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008672/9.184, allocations: 7.719 MB / 3.745 GB, free: 148.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/9.186, allocations: 229.3 kB / 3.745 GB, free: 148.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/9.186, allocations: 26.52 kB / 3.745 GB, free: 148.3 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/9.186, allocations: 3.938 kB / 3.745 GB, free: 148.3 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007065/9.187, allocations: 499.5 kB / 3.745 GB, free: 148.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.122e-06/9.187, allocations: 7.094 kB / 3.745 GB, free: 148.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/9.187, allocations: 11.72 kB / 3.745 GB, free: 148.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004814/9.187, allocations: 143.7 kB / 3.746 GB, free: 148.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.347e-06/9.187, allocations: 13.48 kB / 3.746 GB, free: 148.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008758/9.188, allocations: 90.69 kB / 3.746 GB, free: 148.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.19e-05/9.188, allocations: 25.47 kB / 3.746 GB, free: 148.3 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * 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: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002205/9.188, allocations: 146.6 kB / 3.746 GB, free: 148.2 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001458/9.188, allocations: 99.78 kB / 3.746 GB, free: 148.1 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002651/9.189, allocations: 112.5 kB / 3.746 GB, free: 148.1 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.246e-06/9.189, allocations: 6.984 kB / 3.746 GB, free: 148.1 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/9.189, allocations: 3.562 kB / 3.746 GB, free: 148.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/9.189, allocations: 0 / 3.746 GB, free: 148.1 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002603/9.191, allocations: 1.834 MB / 3.748 GB, free: 147.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.058e-06/9.191, allocations: 3.625 kB / 3.748 GB, free: 147.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0125/9.204, allocations: 2.787 MB / 3.751 GB, free: 147.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.56e-05/9.204, allocations: 3.562 kB / 3.751 GB, free: 147.7 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001028/9.204, allocations: 15.41 kB / 3.751 GB, free: 147.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02884/9.233, allocations: 20.14 MB / 3.77 GB, free: 134 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/9.233, allocations: 0 / 3.77 GB, free: 134 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001345/9.234, allocations: 0.9239 MB / 3.771 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003651/9.235, allocations: 175.2 kB / 3.771 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/9.235, allocations: 7.844 kB / 3.771 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/9.236, allocations: 186.8 kB / 3.771 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002824/9.236, allocations: 56.84 kB / 3.772 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.197e-05/9.236, allocations: 15.47 kB / 3.772 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0009627/9.237, allocations: 0.7713 MB / 3.772 GB, free: 133 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.01e-07/9.237, allocations: 0 / 3.772 GB, free: 133 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001744/9.239, allocations: 0.5341 MB / 3.773 GB, free: 132.9 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 10 * 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: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002374/9.241, allocations: 2.671 MB / 3.775 GB, free: 131.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.01248/9.254, allocations: 3.471 MB / 3.779 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/9.254, allocations: 0 / 3.779 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.01142/9.265, allocations: 2.81 MB / 3.782 GB, free: 128.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002398/9.268, allocations: 472.4 kB / 3.782 GB, free: 128.4 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003353/9.271, allocations: 1.856 MB / 3.784 GB, free: 127 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005591/9.272, allocations: 1.195 MB / 3.785 GB, free: 125.8 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0018/9.274, allocations: 0.7865 MB / 3.786 GB, free: 125 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002949/9.274, allocations: 303.3 kB / 3.786 GB, free: 124.8 MB / 0.6511 GB Notification: Performance of SimCode: time 1.493e-06/9.274, allocations: 0 / 3.786 GB, free: 124.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07045/9.344, allocations: 47.04 MB / 3.832 GB, free: 78.32 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002074/9.345, allocations: 235.2 kB / 3.832 GB, free: 78.01 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.876/13.22, allocations: 2.656 kB / 3.832 GB, free: 78.01 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlow.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)