Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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.SeriesParallelFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",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.771/0.771, allocations: 127.4 MB / 134.9 MB, free: 3.492 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.001148/0.001148, allocations: 174.8 kB / 164.6 MB, free: 11.58 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.824/1.824, allocations: 205.2 MB / 399.5 MB, free: 13.55 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.001028/0.001028, allocations: 98.34 kB / 476.7 MB, free: 1.5 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.78e-05/2.788e-05, allocations: 6.891 kB / 0.5467 GB, free: 95.44 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1847, allocations: 76.77 MB / 0.6216 GB, free: 42.99 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.419/5.604, allocations: 2.138 GB / 2.76 GB, free: 42.17 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000303/5.604, allocations: 98.23 kB / 2.76 GB, free: 42.08 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.76/9.364, allocations: 1.046 GB / 3.805 GB, free: 8.199 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.884e-06/9.364, allocations: 0 / 3.805 GB, free: 8.199 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001158/9.364, allocations: 35.98 kB / 3.805 GB, free: 8.164 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: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.003693/9.368, allocations: 1.279 MB / 3.807 GB, free: 6.824 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.528e-05/9.368, allocations: 8.031 kB / 3.807 GB, free: 6.816 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009912/9.369, allocations: 202.3 kB / 3.807 GB, free: 6.617 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003291/9.372, allocations: 1.445 MB / 3.808 GB, free: 5.117 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.976e-05/9.372, allocations: 20 kB / 3.808 GB, free: 5.098 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.45e-05/9.373, allocations: 40 kB / 3.808 GB, free: 5.059 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009503/9.373, allocations: 0.7014 MB / 3.809 GB, free: 4.355 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001009/9.375, allocations: 0.8509 MB / 3.81 GB, free: 3.434 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.886e-05/9.375, allocations: 3.953 kB / 3.81 GB, free: 3.43 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.747e-05/9.375, allocations: 4 kB / 3.81 GB, free: 3.426 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/9.375, allocations: 12 kB / 3.81 GB, free: 3.414 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.4984/9.873, allocations: 4.506 MB / 3.814 GB, free: 157.7 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002132/9.875, allocations: 4.101 MB / 3.818 GB, free: 153.5 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005818/9.876, allocations: 337.3 kB / 3.819 GB, free: 153.5 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003505/9.876, allocations: 198.4 kB / 3.819 GB, free: 153.3 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006219/9.877, allocations: 291.1 kB / 3.819 GB, free: 153.2 MB / 0.6511 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006415/9.877, allocations: 21.52 kB / 3.819 GB, free: 153.2 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=35): time 3.497e-06/9.877, allocations: 0 / 3.819 GB, free: 153.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=35): time 0.01376/9.891, allocations: 2.569 MB / 3.822 GB, free: 153.2 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.57e-05/9.891, allocations: 84.16 kB / 3.822 GB, free: 153.1 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002028/9.893, allocations: 0.8947 MB / 3.823 GB, free: 152.9 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002287/9.894, allocations: 28.36 kB / 3.823 GB, free: 152.9 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007204/9.894, allocations: 0.536 MB / 3.823 GB, free: 152.8 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001694/9.894, allocations: 119.2 kB / 3.823 GB, free: 152.7 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.22e-05/9.895, allocations: 0 / 3.823 GB, free: 152.7 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 9.134e-05/9.895, allocations: 326.2 kB / 3.824 GB, free: 152.4 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000582/9.895, allocations: 328.9 kB / 3.824 GB, free: 152.4 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007483/9.896, allocations: 0.6521 MB / 3.824 GB, free: 152 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006167/9.897, allocations: 392.5 kB / 3.825 GB, free: 152 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.883e-06/9.897, allocations: 1.031 kB / 3.825 GB, free: 152 MB / 0.6511 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.01067/9.907, allocations: 2.501 MB / 3.827 GB, free: 151.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005839/9.908, allocations: 2.138 MB / 3.829 GB, free: 149.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.866e-05/9.908, allocations: 13.73 kB / 3.829 GB, free: 149.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001145/9.909, allocations: 0.5752 MB / 3.83 GB, free: 149.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/9.911, allocations: 238.9 kB / 3.83 GB, free: 149.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005747/9.916, allocations: 2.887 MB / 3.833 GB, free: 148.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001735/9.918, allocations: 162.4 kB / 3.833 GB, free: 148.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.599e-05/9.918, allocations: 30 kB / 3.833 GB, free: 148.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/9.918, allocations: 3.781 kB / 3.833 GB, free: 148.6 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001162/9.919, allocations: 0.6468 MB / 3.834 GB, free: 148.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/9.919, allocations: 7.438 kB / 3.834 GB, free: 148.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000443/9.92, allocations: 202.5 kB / 3.834 GB, free: 148.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002735/9.92, allocations: 87.06 kB / 3.834 GB, free: 148.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003102/9.923, allocations: 2.79 MB / 3.837 GB, free: 147.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/9.924, allocations: 94.52 kB / 3.837 GB, free: 147.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.055e-05/9.925, allocations: 25.28 kB / 3.837 GB, free: 147.2 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 10} Notification: Performance of prepare postOptimizeDAE: time 0.0003002/9.925, allocations: 131.1 kB / 3.837 GB, free: 147.1 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00757/9.932, allocations: 1.948 MB / 3.839 GB, free: 147 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004647/9.933, allocations: 99.34 kB / 3.839 GB, free: 147 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003253/9.933, allocations: 117 kB / 3.839 GB, free: 146.9 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/9.933, allocations: 5.344 kB / 3.839 GB, free: 146.9 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/9.933, allocations: 3.953 kB / 3.839 GB, free: 146.9 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/9.933, allocations: 0 / 3.839 GB, free: 146.9 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 postOpt removeSimpleEquations (simulation): time 0.01068/9.944, allocations: 3.649 MB / 3.843 GB, free: 146.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/9.944, allocations: 3.469 kB / 3.843 GB, free: 146.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001226/9.945, allocations: 232.1 kB / 3.843 GB, free: 146.2 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007171/9.946, allocations: 499.9 kB / 3.843 GB, free: 146.2 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.499e-05/9.946, allocations: 7.766 kB / 3.843 GB, free: 146.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02539/9.972, allocations: 8.254 MB / 3.852 GB, free: 143.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.756e-06/9.972, allocations: 3.156 kB / 3.852 GB, free: 143.7 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009961/9.982, allocations: 2.159 MB / 3.854 GB, free: 143.3 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009812/9.983, allocations: 179 kB / 3.854 GB, free: 143.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006399/9.983, allocations: 6.781 kB / 3.854 GB, free: 143.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002015/9.985, allocations: 149.4 kB / 3.854 GB, free: 143.2 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003889/9.986, allocations: 49.56 kB / 3.854 GB, free: 143.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.557e-05/9.986, allocations: 18.95 kB / 3.854 GB, free: 143.2 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001523/9.987, allocations: 0.6978 MB / 3.855 GB, free: 143.1 MB / 0.6511 GB Notification: Performance of sort global known variables: time 2.1e-07/9.987, allocations: 0 / 3.855 GB, free: 143.1 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003612/9.991, allocations: 0.6159 MB / 3.855 GB, free: 143 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.01259/10, allocations: 4.272 MB / 3.859 GB, free: 141.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.007561/10.01, allocations: 2.177 MB / 3.862 GB, free: 141.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/10.01, allocations: 0 / 3.862 GB, free: 141.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.004722/10.02, allocations: 1.242 MB / 3.863 GB, free: 141.1 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0034/10.02, allocations: 0.5871 MB / 3.863 GB, free: 141.1 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003636/10.02, allocations: 1.866 MB / 3.865 GB, free: 140.7 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006524/10.02, allocations: 1.239 MB / 3.866 GB, free: 140 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001922/10.03, allocations: 0.7141 MB / 3.867 GB, free: 140 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003638/10.03, allocations: 338.7 kB / 3.867 GB, free: 140 MB / 0.6511 GB Notification: Performance of SimCode: time 1.643e-06/10.03, allocations: 0 / 3.867 GB, free: 140 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0868/10.11, allocations: 42.49 MB / 3.909 GB, free: 136.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001948/10.11, allocations: 193.3 kB / 3.909 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.83/13.94, allocations: 0 / 3.909 GB, free: 135.9 MB / 0.6511 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1)