Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.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.SeriesParallelDpOptimised,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised",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.7177/0.7178, 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.001084/0.001084, allocations: 172.8 kB / 164.7 MB, free: 6.527 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.752/1.752, allocations: 205.2 MB / 399.5 MB, free: 5.816 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.000896/0.0008959, allocations: 102.4 kB / 476.7 MB, free: 8.547 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.474e-05/2.476e-05, allocations: 4 kB / 0.5467 GB, free: 60.39 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1687/0.1688, allocations: 76.77 MB / 0.6216 GB, free: 15.55 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.864/6.033, allocations: 2.141 GB / 2.763 GB, free: 46.41 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002946/6.033, allocations: 105 kB / 2.763 GB, free: 46.35 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.338/13.37, allocations: 1.941 GB / 4.704 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.743e-06/13.37, allocations: 0 / 4.704 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001269/13.37, allocations: 35.98 kB / 4.704 GB, free: 11.34 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.003758/13.38, allocations: 1.251 MB / 4.705 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/13.38, allocations: 8.031 kB / 4.705 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001009/13.38, allocations: 206.3 kB / 4.705 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003364/13.38, allocations: 1.476 MB / 4.707 GB, free: 8.293 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.548e-05/13.38, allocations: 16 kB / 4.707 GB, free: 8.277 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.789e-05/13.38, allocations: 40 kB / 4.707 GB, free: 8.238 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001199/13.38, allocations: 0.7091 MB / 4.708 GB, free: 7.527 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001027/13.38, allocations: 0.8406 MB / 4.708 GB, free: 6.609 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/13.38, allocations: 3.938 kB / 4.708 GB, free: 6.605 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.753e-05/13.38, allocations: 3.953 kB / 4.708 GB, free: 6.602 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.178e-05/13.38, allocations: 16 kB / 4.708 GB, free: 6.586 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.00349/13.39, allocations: 4.485 MB / 4.713 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.42/13.81, allocations: 4.042 MB / 4.717 GB, free: 142.5 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006743/13.81, allocations: 335.2 kB / 4.717 GB, free: 142.5 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000317/13.81, allocations: 196.5 kB / 4.717 GB, free: 142.3 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005083/13.81, allocations: 288.4 kB / 4.718 GB, free: 142.3 MB / 0.6355 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00055/13.81, allocations: 15.33 kB / 4.718 GB, free: 142.3 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=35): time 2.855e-06/13.81, allocations: 3.75 kB / 4.718 GB, free: 142.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=35): time 0.02174/13.83, allocations: 4.563 MB / 4.722 GB, free: 142.2 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.669e-05/13.83, allocations: 82.59 kB / 4.722 GB, free: 142.1 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001582/13.83, allocations: 0.8954 MB / 4.723 GB, free: 142 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001885/13.83, allocations: 31.3 kB / 4.723 GB, free: 141.9 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005477/13.83, allocations: 0.5275 MB / 4.724 GB, free: 141.8 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001429/13.83, allocations: 121.2 kB / 4.724 GB, free: 141.8 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.578e-05/13.83, allocations: 0 / 4.724 GB, free: 141.8 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.302e-05/13.83, allocations: 326.2 kB / 4.724 GB, free: 141.4 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005532/13.83, allocations: 370.6 kB / 4.724 GB, free: 141.4 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007925/13.83, allocations: 0.6872 MB / 4.725 GB, free: 141.1 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006523/13.83, allocations: 421.2 kB / 4.725 GB, free: 141.1 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/13.83, allocations: 2.031 kB / 4.725 GB, free: 141.1 MB / 0.6355 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.01891/13.85, allocations: 4.312 MB / 4.73 GB, free: 141 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004319/13.85, allocations: 2.146 MB / 4.732 GB, free: 138.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.505e-05/13.85, allocations: 12.72 kB / 4.732 GB, free: 138.7 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001227/13.85, allocations: 0.6763 MB / 4.732 GB, free: 138.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003796/13.86, allocations: 81.73 kB / 4.732 GB, free: 138.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002709/13.86, allocations: 1.963 MB / 4.734 GB, free: 138.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001812/13.86, allocations: 220.4 kB / 4.735 GB, free: 138.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.164e-05/13.86, allocations: 32.45 kB / 4.735 GB, free: 138.2 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/13.86, allocations: 7.906 kB / 4.735 GB, free: 138.2 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001215/13.86, allocations: 0.6563 MB / 4.735 GB, free: 138.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.147e-06/13.86, allocations: 8.094 kB / 4.735 GB, free: 138.2 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005846/13.86, allocations: 233.2 kB / 4.736 GB, free: 138.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003435/13.86, allocations: 75.3 kB / 4.736 GB, free: 138.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003271/13.87, allocations: 2.959 MB / 4.738 GB, free: 136.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001094/13.87, allocations: 95.64 kB / 4.739 GB, free: 136.8 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.141e-05/13.87, allocations: 22.78 kB / 4.739 GB, free: 136.8 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 34 * 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 {1 22} Notification: Performance of prepare postOptimizeDAE: time 0.0002613/13.87, allocations: 125.2 kB / 4.739 GB, free: 136.7 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0151/13.88, allocations: 3.671 MB / 4.742 GB, free: 136.6 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005476/13.88, allocations: 103.7 kB / 4.742 GB, free: 136.6 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003111/13.88, allocations: 110.5 kB / 4.742 GB, free: 136.5 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.015e-06/13.88, allocations: 4.688 kB / 4.742 GB, free: 136.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/13.88, allocations: 0.7812 kB / 4.742 GB, free: 136.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.135e-06/13.88, allocations: 4 kB / 4.742 GB, free: 136.5 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 postOpt removeSimpleEquations (simulation): time 0.01778/13.9, allocations: 5.562 MB / 4.748 GB, free: 135.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.114e-05/13.9, allocations: 0 / 4.748 GB, free: 135.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002606/13.9, allocations: 55.23 kB / 4.748 GB, free: 135.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008471/13.9, allocations: 0.5939 MB / 4.749 GB, free: 135.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.983e-05/13.9, allocations: 10.72 kB / 4.749 GB, free: 135.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02236/13.92, allocations: 8.913 MB / 4.757 GB, free: 134.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.653e-06/13.92, allocations: 6.688 kB / 4.757 GB, free: 134.5 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01431/13.94, allocations: 3.858 MB / 4.761 GB, free: 134.1 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006107/13.94, allocations: 179.2 kB / 4.761 GB, free: 134 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002061/13.94, allocations: 11.61 kB / 4.761 GB, free: 134 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001219/13.94, allocations: 213.1 kB / 4.761 GB, free: 134 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002555/13.94, allocations: 44.22 kB / 4.761 GB, free: 134 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.525e-05/13.94, allocations: 17.05 kB / 4.761 GB, free: 134 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0009377/13.94, allocations: 0.7019 MB / 4.762 GB, free: 133.8 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.5e-07/13.94, allocations: 2.344 kB / 4.762 GB, free: 133.8 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002373/13.94, allocations: 0.6827 MB / 4.763 GB, free: 133.8 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,pulse_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 19 * 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 {1 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.01635/13.96, allocations: 6.054 MB / 4.769 GB, free: 132.3 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002909/13.96, allocations: 1.523 MB / 4.77 GB, free: 132 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.253e-06/13.96, allocations: 3.094 kB / 4.77 GB, free: 132 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001224/13.97, allocations: 0.6124 MB / 4.771 GB, free: 131.9 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003189/13.97, allocations: 0.5884 MB / 4.771 GB, free: 131.9 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003182/13.97, allocations: 1.92 MB / 4.773 GB, free: 131.5 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005944/13.97, allocations: 1.232 MB / 4.775 GB, free: 130.8 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001851/13.97, allocations: 0.7421 MB / 4.775 GB, free: 130.7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003446/13.97, allocations: 337.9 kB / 4.776 GB, free: 130.7 MB / 0.6355 GB Notification: Performance of SimCode: time 8.02e-07/13.97, allocations: 0 / 4.776 GB, free: 130.7 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08822/14.06, allocations: 49.54 MB / 4.824 GB, free: 112.9 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002235/14.06, allocations: 202.2 kB / 4.824 GB, free: 112.7 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.743/17.81, allocations: 0 / 4.824 GB, free: 112.7 MB / 0.6355 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDpOptimised.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDpOptimised.pipe 2>&1)