Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.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.SeriesParallelDp,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp",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.7332/0.7332, allocations: 128.7 MB / 143.7 MB, free: 2.301 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.001154/0.001154, allocations: 182.4 kB / 173.7 MB, free: 6.105 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.701/1.701, allocations: 205.4 MB / 409 MB, free: 10.47 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.001288/0.001288, allocations: 91.36 kB / 486.6 MB, free: 12.98 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003431/0.0003427, allocations: 8.188 kB / 0.5604 GB, free: 97.54 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1648/0.1652, allocations: 76.78 MB / 0.6354 GB, free: 30.42 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.339/5.505, allocations: 2.142 GB / 2.777 GB, free: 235 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003472/5.505, allocations: 100.1 kB / 2.777 GB, free: 235 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.754/9.259, allocations: 1.067 GB / 3.844 GB, free: 149 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.353e-06/9.259, allocations: 0 / 3.844 GB, free: 149 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001335/9.259, allocations: 35.62 kB / 3.844 GB, free: 149 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: 135 * Number of variables: 135 Notification: Performance of Generate backend data structure: time 0.005751/9.265, allocations: 1.556 MB / 3.845 GB, free: 148.2 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/9.265, allocations: 11.78 kB / 3.845 GB, free: 148.2 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003333/9.265, allocations: 100.5 kB / 3.846 GB, free: 148.1 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001098/9.266, allocations: 205.8 kB / 3.846 GB, free: 148.1 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004222/9.271, allocations: 1.481 MB / 3.847 GB, free: 147.5 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.819e-05/9.271, allocations: 51.81 kB / 3.847 GB, free: 147.5 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/9.271, allocations: 64.84 kB / 3.847 GB, free: 147.5 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003938/9.275, allocations: 1.453 MB / 3.849 GB, free: 146.8 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.021e-05/9.275, allocations: 0 / 3.849 GB, free: 146.8 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.464e-05/9.275, allocations: 23.94 kB / 3.849 GB, free: 146.7 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.668e-05/9.275, allocations: 14.94 kB / 3.849 GB, free: 146.7 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003589/9.278, allocations: 1.272 MB / 3.85 GB, free: 146.2 MB / 0.6511 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.004933/9.283, allocations: 4.618 MB / 3.855 GB, free: 142.1 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004208/9.288, allocations: 4.561 MB / 3.859 GB, free: 137.3 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000274/9.288, allocations: 191.2 kB / 3.859 GB, free: 137.1 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002831/9.291, allocations: 0.8283 MB / 3.86 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006962/9.291, allocations: 35.94 kB / 3.86 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=35): time 2.755e-06/9.291, allocations: 0 / 3.86 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35): time 0.01529/9.307, allocations: 3.601 MB / 3.864 GB, free: 135.1 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/9.307, allocations: 87.17 kB / 3.864 GB, free: 135 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001668/9.309, allocations: 1.042 MB / 3.865 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001822/9.309, allocations: 37.52 kB / 3.865 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004459/9.309, allocations: 0.5319 MB / 3.865 GB, free: 133.9 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001897/9.309, allocations: 124.8 kB / 3.865 GB, free: 133.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.441e-05/9.309, allocations: 8 kB / 3.865 GB, free: 133.8 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.167e-05/9.31, allocations: 325.3 kB / 3.866 GB, free: 133.5 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008164/9.31, allocations: 406.8 kB / 3.866 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009945/9.311, allocations: 0.7301 MB / 3.867 GB, free: 132.7 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008557/9.312, allocations: 494.4 kB / 3.867 GB, free: 132.5 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.242e-06/9.312, allocations: 7.281 kB / 3.867 GB, free: 132.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.009884/9.322, allocations: 2.532 MB / 3.87 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006088/9.323, allocations: 2.147 MB / 3.872 GB, free: 128.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/9.323, allocations: 8 kB / 3.872 GB, free: 128.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00163/9.324, allocations: 0.7596 MB / 3.872 GB, free: 128 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003903/9.325, allocations: 75.83 kB / 3.873 GB, free: 128 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006357/9.331, allocations: 2.367 MB / 3.875 GB, free: 125.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001805/9.333, allocations: 175.5 kB / 3.875 GB, free: 125.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.572e-05/9.333, allocations: 35.94 kB / 3.875 GB, free: 125.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.58e-05/9.333, allocations: 0 / 3.875 GB, free: 125.4 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001503/9.335, allocations: 0.8214 MB / 3.876 GB, free: 124.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.127e-06/9.335, allocations: 8.656 kB / 3.876 GB, free: 124.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000552/9.335, allocations: 250.9 kB / 3.876 GB, free: 124.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003082/9.336, allocations: 75.89 kB / 3.876 GB, free: 124.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003874/9.34, allocations: 3.158 MB / 3.879 GB, free: 120.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001359/9.341, allocations: 103.7 kB / 3.879 GB, free: 120.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.981e-05/9.341, allocations: 27.98 kB / 3.879 GB, free: 120.8 MB / 0.6511 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 () * Number of clocked 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 {11 12} Notification: Performance of prepare postOptimizeDAE: time 0.0008349/9.342, allocations: 472.7 kB / 3.88 GB, free: 120.3 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001826/9.342, allocations: 106.7 kB / 3.88 GB, free: 120.2 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000196/9.342, allocations: 130.4 kB / 3.88 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.751e-06/9.342, allocations: 8 kB / 3.88 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.537e-06/9.342, allocations: 3.938 kB / 3.88 GB, free: 120.1 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/9.342, allocations: 0 / 3.88 GB, free: 120.1 MB / 0.6511 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 postOpt removeSimpleEquations (simulation): time 0.01208/9.354, allocations: 4.082 MB / 3.884 GB, free: 115.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.521e-05/9.354, allocations: 0 / 3.884 GB, free: 115.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002681/9.355, allocations: 51.89 kB / 3.884 GB, free: 115.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001437/9.356, allocations: 0.675 MB / 3.885 GB, free: 115.1 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.581e-05/9.356, allocations: 19.92 kB / 3.885 GB, free: 115.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02843/9.385, allocations: 9.415 MB / 3.894 GB, free: 105.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.55e-06/9.385, allocations: 0 / 3.894 GB, free: 105.6 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00973/9.394, allocations: 2.511 MB / 3.896 GB, free: 103 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006686/9.395, allocations: 187.8 kB / 3.897 GB, free: 102.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004209/9.396, allocations: 12 kB / 3.897 GB, free: 102.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001438/9.397, allocations: 159.6 kB / 3.897 GB, free: 102.6 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003061/9.397, allocations: 43.88 kB / 3.897 GB, free: 102.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.721e-05/9.397, allocations: 12 kB / 3.897 GB, free: 102.6 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001402/9.399, allocations: 0.8209 MB / 3.898 GB, free: 101.7 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.31e-07/9.399, allocations: 0 / 3.898 GB, free: 101.7 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002915/9.402, allocations: 0.6638 MB / 3.898 GB, free: 101.1 MB / 0.6511 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) * Number of clocked states: 0 () * 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 {11 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.01183/9.414, allocations: 4.57 MB / 3.903 GB, free: 96.59 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.007471/9.421, allocations: 2.302 MB / 3.905 GB, free: 94.25 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.333e-06/9.421, allocations: 3.938 kB / 3.905 GB, free: 94.25 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.004994/9.426, allocations: 1.327 MB / 3.906 GB, free: 92.91 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003562/9.43, allocations: 0.6513 MB / 3.907 GB, free: 92.27 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02445/9.454, allocations: 12.55 MB / 3.919 GB, free: 79.34 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000866/9.455, allocations: 1.24 MB / 3.92 GB, free: 78.07 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001475/9.457, allocations: 344.5 kB / 3.921 GB, free: 77.74 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006021/9.457, allocations: 363.3 kB / 3.921 GB, free: 77.38 MB / 0.6511 GB Notification: Performance of SimCode: time 1.032e-06/9.457, allocations: 4 kB / 3.921 GB, free: 77.38 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09161/9.549, allocations: 55.09 MB / 3.975 GB, free: 22.8 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002028/9.549, allocations: 279.2 kB / 3.975 GB, free: 22.43 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.026/13.57, allocations: 0 / 3.975 GB, free: 22.43 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelDp.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelDp.pipe 2>&1)