Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.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.SeriesDp,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDp",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.7217/0.7217, allocations: 127.4 MB / 134.9 MB, free: 3.742 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.001056/0.001057, allocations: 172.8 kB / 164.6 MB, free: 6.539 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.614/1.614, allocations: 205.2 MB / 399.5 MB, free: 5.941 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.001057/0.001057, allocations: 89.02 kB / 476.7 MB, free: 8.668 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.057e-05/2.052e-05, allocations: 7.984 kB / 0.5467 GB, free: 60.41 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1582, allocations: 76.76 MB / 0.6216 GB, free: 15.59 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.666/5.824, allocations: 2.141 GB / 2.763 GB, free: 46.59 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003647/5.825, allocations: 94.31 kB / 2.763 GB, free: 46.54 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.54/9.365, allocations: 0.9495 GB / 3.712 GB, free: 58.3 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.004e-06/9.365, allocations: 0 / 3.712 GB, free: 58.3 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.532e-05/9.365, allocations: 31.98 kB / 3.712 GB, free: 58.27 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.00168/9.367, allocations: 1.143 MB / 3.714 GB, free: 57.08 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/9.367, allocations: 12.03 kB / 3.714 GB, free: 57.07 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007363/9.368, allocations: 183 kB / 3.714 GB, free: 56.89 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001873/9.369, allocations: 1.124 MB / 3.715 GB, free: 55.72 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.444e-05/9.369, allocations: 16 kB / 3.715 GB, free: 55.7 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.44e-05/9.37, allocations: 36 kB / 3.715 GB, free: 55.67 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00062/9.37, allocations: 482.3 kB / 3.715 GB, free: 55.2 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007145/9.371, allocations: 0.6572 MB / 3.716 GB, free: 54.46 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.566e-05/9.371, allocations: 0 / 3.716 GB, free: 54.46 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.04e-05/9.371, allocations: 4 kB / 3.716 GB, free: 54.46 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.099e-05/9.371, allocations: 12 kB / 3.716 GB, free: 54.45 MB / 0.6355 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.002644/9.374, allocations: 4.294 MB / 3.72 GB, free: 49.79 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004611/9.374, allocations: 462.4 kB / 3.721 GB, free: 49.33 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002213/9.374, allocations: 238.4 kB / 3.721 GB, free: 49.09 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002377/9.375, allocations: 194.2 kB / 3.721 GB, free: 48.87 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002917/9.375, allocations: 257.7 kB / 3.721 GB, free: 48.59 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=30): time 1.452e-06/9.375, allocations: 4 kB / 3.721 GB, free: 48.59 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30): time 0.01717/9.392, allocations: 4.284 MB / 3.726 GB, free: 44.29 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.81e-05/9.392, allocations: 85.09 kB / 3.726 GB, free: 44.19 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001103/9.393, allocations: 0.8476 MB / 3.726 GB, free: 43.32 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001438/9.393, allocations: 33.64 kB / 3.726 GB, free: 43.29 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000306/9.394, allocations: 0.4923 MB / 3.727 GB, free: 42.79 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.833e-05/9.394, allocations: 90.66 kB / 3.727 GB, free: 42.7 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.073e-05/9.394, allocations: 4 kB / 3.727 GB, free: 42.7 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.8e-05/9.394, allocations: 322.1 kB / 3.727 GB, free: 42.38 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003657/9.394, allocations: 344.5 kB / 3.728 GB, free: 42.04 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004825/9.395, allocations: 0.636 MB / 3.728 GB, free: 41.27 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003974/9.395, allocations: 393.3 kB / 3.729 GB, free: 40.88 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.098e-06/9.395, allocations: 0 / 3.729 GB, free: 40.88 MB / 0.6355 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.01512/9.41, allocations: 4.058 MB / 3.733 GB, free: 36.81 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.000452/9.411, allocations: 2.047 MB / 3.735 GB, free: 34.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/9.411, allocations: 8 kB / 3.735 GB, free: 34.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/9.412, allocations: 0.659 MB / 3.735 GB, free: 33.93 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002662/9.412, allocations: 63.86 kB / 3.735 GB, free: 33.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006248/9.418, allocations: 2.784 MB / 3.738 GB, free: 31.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001632/9.42, allocations: 215.3 kB / 3.738 GB, free: 30.85 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-05/9.42, allocations: 31.97 kB / 3.738 GB, free: 30.82 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/9.42, allocations: 4 kB / 3.738 GB, free: 30.81 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009419/9.421, allocations: 0.5706 MB / 3.739 GB, free: 30.24 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/9.421, allocations: 4 kB / 3.739 GB, free: 30.23 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000478/9.422, allocations: 208.9 kB / 3.739 GB, free: 30.03 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001903/9.422, allocations: 59.84 kB / 3.739 GB, free: 29.97 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002598/9.424, allocations: 2.869 MB / 3.742 GB, free: 26.98 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008223/9.425, allocations: 83.64 kB / 3.742 GB, free: 26.89 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.84e-05/9.425, allocations: 20 kB / 3.742 GB, free: 26.88 MB / 0.6355 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 (33): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 11} Notification: Performance of prepare postOptimizeDAE: time 0.0001798/9.426, allocations: 124.8 kB / 3.742 GB, free: 26.75 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01288/9.438, allocations: 3.426 MB / 3.745 GB, free: 23.3 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003992/9.439, allocations: 98.83 kB / 3.746 GB, free: 23.21 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002539/9.439, allocations: 97.38 kB / 3.746 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.55e-06/9.439, allocations: 4 kB / 3.746 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/9.439, allocations: 4 kB / 3.746 GB, free: 23.11 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.141e-06/9.439, allocations: 7.984 kB / 3.746 GB, free: 23.1 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0144/9.454, allocations: 4.471 MB / 3.75 GB, free: 18.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.187e-05/9.454, allocations: 192 / 3.75 GB, free: 18.55 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001218/9.454, allocations: 31.92 kB / 3.75 GB, free: 18.52 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008052/9.455, allocations: 0.6162 MB / 3.751 GB, free: 17.91 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.458e-05/9.455, allocations: 16.02 kB / 3.751 GB, free: 17.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02632/9.481, allocations: 10.39 MB / 3.761 GB, free: 7.367 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.992e-06/9.481, allocations: 8.375 kB / 3.761 GB, free: 7.359 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01307/9.494, allocations: 3.64 MB / 3.764 GB, free: 3.641 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005088/9.495, allocations: 164 kB / 3.765 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001919/9.495, allocations: 4 kB / 3.765 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/9.496, allocations: 187.5 kB / 3.765 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002495/9.496, allocations: 51.81 kB / 3.765 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.719e-05/9.496, allocations: 11.98 kB / 3.765 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0007581/9.497, allocations: 0.6648 MB / 3.765 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.1e-07/9.497, allocations: 0 / 3.765 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002132/9.499, allocations: 0.5775 MB / 3.766 GB, free: 1.957 MB / 0.6355 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 (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.4613/9.961, allocations: 5.581 MB / 3.771 GB, free: 157.9 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.008125/9.969, allocations: 2.413 MB / 3.774 GB, free: 157.7 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.162e-06/9.969, allocations: 0 / 3.774 GB, free: 157.7 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.006/9.975, allocations: 1.585 MB / 3.775 GB, free: 157.5 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002497/9.977, allocations: 397.9 kB / 3.776 GB, free: 157.5 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004535/9.982, allocations: 1.802 MB / 3.778 GB, free: 157.1 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001158/9.983, allocations: 1.217 MB / 3.779 GB, free: 156.4 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002439/9.985, allocations: 0.6407 MB / 3.779 GB, free: 156.4 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004031/9.986, allocations: 302.4 kB / 3.78 GB, free: 156.4 MB / 0.6355 GB Notification: Performance of SimCode: time 1.853e-06/9.986, allocations: 3.094 kB / 3.78 GB, free: 156.4 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08439/10.07, allocations: 41.03 MB / 3.82 GB, free: 155.2 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/10.07, allocations: 187.1 kB / 3.82 GB, free: 155 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.624/13.69, allocations: 3.719 kB / 3.82 GB, free: 155 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDp.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)