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.7309/0.7309, allocations: 127.4 MB / 134.9 MB, free: 3.77 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.001215/0.001215, allocations: 184.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.736/1.736, allocations: 205.2 MB / 399.5 MB, free: 5.934 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.001169/0.001168, allocations: 94.75 kB / 476.7 MB, free: 8.656 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 2.198e-05/2.2e-05, allocations: 4 kB / 0.5467 GB, free: 60.4 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1675/0.1675, allocations: 76.77 MB / 0.6216 GB, free: 15.56 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.857/6.025, allocations: 2.138 GB / 2.76 GB, free: 50.57 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002806/6.025, allocations: 92.94 kB / 2.76 GB, free: 50.52 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.358/9.383, allocations: 0.9377 GB / 3.698 GB, free: 74.78 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.513e-06/9.383, allocations: 0 / 3.698 GB, free: 74.78 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.562e-05/9.383, allocations: 31.98 kB / 3.698 GB, free: 74.75 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001732/9.385, allocations: 1.143 MB / 3.699 GB, free: 73.55 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.715e-05/9.385, allocations: 8.031 kB / 3.699 GB, free: 73.54 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007421/9.386, allocations: 182.5 kB / 3.699 GB, free: 73.36 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001812/9.388, allocations: 1.104 MB / 3.7 GB, free: 72.22 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.305e-05/9.388, allocations: 16 kB / 3.7 GB, free: 72.2 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.077e-05/9.388, allocations: 36 kB / 3.7 GB, free: 72.17 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006283/9.388, allocations: 478.3 kB / 3.701 GB, free: 71.7 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007321/9.389, allocations: 0.6611 MB / 3.701 GB, free: 70.96 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/9.389, allocations: 11.92 kB / 3.701 GB, free: 70.95 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.548e-05/9.389, allocations: 3.984 kB / 3.701 GB, free: 70.95 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.11e-05/9.389, allocations: 16 kB / 3.701 GB, free: 70.93 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.002832/9.392, allocations: 4.298 MB / 3.705 GB, free: 66.27 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004831/9.392, allocations: 466.4 kB / 3.706 GB, free: 65.8 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002405/9.393, allocations: 234.5 kB / 3.706 GB, free: 65.57 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002673/9.393, allocations: 198.2 kB / 3.706 GB, free: 65.34 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003005/9.393, allocations: 265.5 kB / 3.707 GB, free: 65.06 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=30): time 1.834e-06/9.393, allocations: 0 / 3.707 GB, free: 65.06 MB / 0.6355 GB Notification: Performance of matching and sorting (n=30): time 0.003314/9.397, allocations: 1.116 MB / 3.708 GB, free: 63.94 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.467e-05/9.397, allocations: 89.05 kB / 3.708 GB, free: 63.84 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008473/9.398, allocations: 0.8476 MB / 3.709 GB, free: 62.97 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.609e-05/9.398, allocations: 29.7 kB / 3.709 GB, free: 62.93 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002836/9.398, allocations: 0.4884 MB / 3.709 GB, free: 62.44 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.064e-05/9.398, allocations: 102.5 kB / 3.709 GB, free: 62.34 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.876e-05/9.398, allocations: 0 / 3.709 GB, free: 62.34 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.574e-05/9.398, allocations: 326 kB / 3.709 GB, free: 62.01 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00036/9.398, allocations: 348.5 kB / 3.71 GB, free: 61.67 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000497/9.399, allocations: 0.6433 MB / 3.71 GB, free: 60.89 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004104/9.399, allocations: 385.5 kB / 3.711 GB, free: 60.51 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/9.399, allocations: 3.938 kB / 3.711 GB, free: 60.51 MB / 0.6355 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.001063/9.4, allocations: 0.8951 MB / 3.712 GB, free: 59.61 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004477/9.401, allocations: 2.039 MB / 3.714 GB, free: 57.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/9.401, allocations: 8 kB / 3.714 GB, free: 57.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.067e-05/9.401, allocations: 11.94 kB / 3.714 GB, free: 57.39 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01153/9.413, allocations: 2.746 MB / 3.716 GB, free: 54.64 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007916/9.42, allocations: 7.885 MB / 3.724 GB, free: 46.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001614/9.422, allocations: 203.5 kB / 3.724 GB, free: 46.32 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.236e-05/9.422, allocations: 27.98 kB / 3.724 GB, free: 46.29 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.373e-05/9.422, allocations: 5.094 kB / 3.724 GB, free: 46.29 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005762/9.423, allocations: 408.4 kB / 3.725 GB, free: 45.89 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/9.423, allocations: 12.62 kB / 3.725 GB, free: 45.88 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.002e-05/9.423, allocations: 8 kB / 3.725 GB, free: 45.87 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004684/9.423, allocations: 143.8 kB / 3.725 GB, free: 45.73 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.965e-06/9.423, allocations: 19.88 kB / 3.725 GB, free: 45.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006514/9.424, allocations: 79.53 kB / 3.725 GB, free: 45.63 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.406e-05/9.424, allocations: 20 kB / 3.725 GB, free: 45.61 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 (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.0001926/9.424, allocations: 135.2 kB / 3.725 GB, free: 45.47 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007981/9.425, allocations: 0.6796 MB / 3.726 GB, free: 44.79 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.047e-05/9.425, allocations: 91.16 kB / 3.726 GB, free: 44.7 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002646/9.425, allocations: 109.3 kB / 3.726 GB, free: 44.59 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.609e-06/9.425, allocations: 7.984 kB / 3.726 GB, free: 44.58 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/9.425, allocations: 0 / 3.726 GB, free: 44.58 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/9.425, allocations: 3.984 kB / 3.726 GB, free: 44.58 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002088/9.428, allocations: 1.743 MB / 3.728 GB, free: 42.77 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/9.428, allocations: 0 / 3.728 GB, free: 42.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.01148/9.439, allocations: 2.793 MB / 3.73 GB, free: 39.97 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.454e-05/9.439, allocations: 4 kB / 3.73 GB, free: 39.97 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.58e-05/9.439, allocations: 11.98 kB / 3.73 GB, free: 39.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02809/9.467, allocations: 19.55 MB / 3.749 GB, free: 19.28 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-05/9.467, allocations: 7.969 kB / 3.749 GB, free: 19.27 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001178/9.469, allocations: 0.8824 MB / 3.75 GB, free: 18.32 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003096/9.469, allocations: 168 kB / 3.75 GB, free: 18.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001175/9.469, allocations: 4 kB / 3.75 GB, free: 18.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001033/9.47, allocations: 175.6 kB / 3.751 GB, free: 17.96 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002599/9.47, allocations: 55.84 kB / 3.751 GB, free: 17.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.909e-05/9.47, allocations: 19.98 kB / 3.751 GB, free: 17.88 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0007966/9.471, allocations: 0.657 MB / 3.751 GB, free: 17.21 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.6e-07/9.471, allocations: 4 kB / 3.751 GB, free: 17.21 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0037/9.475, allocations: 0.6127 MB / 3.752 GB, free: 16.6 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 (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.002375/9.477, allocations: 2.764 MB / 3.755 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.01176/9.489, allocations: 3.452 MB / 3.758 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 8.035e-06/9.489, allocations: 3.938 kB / 3.758 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.01081/9.5, allocations: 2.801 MB / 3.761 GB, free: 7.484 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002152/9.502, allocations: 391.2 kB / 3.761 GB, free: 7.102 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003015/9.505, allocations: 1.817 MB / 3.763 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004994/9.506, allocations: 1.202 MB / 3.764 GB, free: 3.992 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001705/9.507, allocations: 0.7642 MB / 3.765 GB, free: 3.223 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002734/9.508, allocations: 303.3 kB / 3.765 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of SimCode: time 1.192e-06/9.508, allocations: 0 / 3.765 GB, free: 2.926 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4769/9.985, allocations: 33.54 MB / 3.798 GB, free: 157.6 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001743/9.985, allocations: 189.2 kB / 3.798 GB, free: 157.4 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.294/13.28, allocations: 0 / 3.798 GB, free: 157.4 MB / 0.6355 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)