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.7098/0.7098, allocations: 128.7 MB / 143.7 MB, free: 2.355 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.001132/0.001132, allocations: 184.2 kB / 173.7 MB, free: 6.137 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.425/1.425, allocations: 205.4 MB / 409 MB, free: 10.51 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.0008623/0.0008622, allocations: 97.39 kB / 486.6 MB, free: 13 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003135/0.0003136, allocations: 13.11 kB / 0.5604 GB, free: 97.48 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1293/0.1296, allocations: 76.77 MB / 0.6354 GB, free: 30.45 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.498/4.627, allocations: 2.142 GB / 2.777 GB, free: 235.2 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002997/4.628, allocations: 100.6 kB / 2.777 GB, free: 235.2 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 2.993/7.621, allocations: 0.9607 GB / 3.738 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.505e-06/7.621, allocations: 3.938 kB / 3.738 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002041/7.621, allocations: 35.98 kB / 3.738 GB, free: 13.02 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.004357/7.625, allocations: 1.428 MB / 3.739 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.253e-05/7.625, allocations: 8.031 kB / 3.739 GB, free: 11.52 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003288/7.626, allocations: 94.52 kB / 3.739 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/7.627, allocations: 194 kB / 3.74 GB, free: 11.23 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003227/7.63, allocations: 1.131 MB / 3.741 GB, free: 10.06 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.44e-05/7.63, allocations: 41 kB / 3.741 GB, free: 10.02 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001786/7.63, allocations: 64 kB / 3.741 GB, free: 9.957 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004728/7.635, allocations: 1.588 MB / 3.742 GB, free: 8.289 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.665e-05/7.635, allocations: 3.938 kB / 3.742 GB, free: 8.285 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.083e-05/7.635, allocations: 27.95 kB / 3.742 GB, free: 8.258 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.583e-05/7.635, allocations: 12 kB / 3.742 GB, free: 8.246 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004287/7.64, allocations: 1.354 MB / 3.744 GB, free: 6.895 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.00501/7.645, allocations: 4.415 MB / 3.748 GB, free: 2.102 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004071/7.649, allocations: 1.275 MB / 3.749 GB, free: 0.8164 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002937/7.649, allocations: 198.2 kB / 3.749 GB, free: 0.5859 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.4155/8.064, allocations: 1.114 MB / 3.751 GB, free: 158.3 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=30): time 3.006e-06/8.065, allocations: 0 / 3.751 GB, free: 158.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30): time 0.02484/8.089, allocations: 5.668 MB / 3.756 GB, free: 158.1 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.263e-05/8.089, allocations: 82.33 kB / 3.756 GB, free: 158 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001564/8.091, allocations: 0.9827 MB / 3.757 GB, free: 157.9 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001775/8.091, allocations: 34.42 kB / 3.757 GB, free: 157.9 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003983/8.092, allocations: 0.5028 MB / 3.758 GB, free: 157.7 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001173/8.092, allocations: 107.8 kB / 3.758 GB, free: 157.7 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.875e-05/8.092, allocations: 7.406 kB / 3.758 GB, free: 157.7 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 6.957e-05/8.092, allocations: 329.9 kB / 3.758 GB, free: 157.4 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001291/8.093, allocations: 0.5327 MB / 3.759 GB, free: 157.4 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001484/8.095, allocations: 0.8483 MB / 3.759 GB, free: 157 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/8.096, allocations: 0.6038 MB / 3.76 GB, free: 157 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.089e-06/8.096, allocations: 3.938 kB / 3.76 GB, free: 157 MB / 0.6511 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.01666/8.113, allocations: 4.295 MB / 3.764 GB, free: 156.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004612/8.113, allocations: 2.044 MB / 3.766 GB, free: 154.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/8.113, allocations: 7.641 kB / 3.766 GB, free: 154.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002529/8.116, allocations: 1.037 MB / 3.767 GB, free: 154.7 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003005/8.116, allocations: 57.16 kB / 3.767 GB, free: 154.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009865/8.126, allocations: 3.214 MB / 3.77 GB, free: 154.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001855/8.128, allocations: 227.8 kB / 3.771 GB, free: 154.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.934e-05/8.128, allocations: 34.44 kB / 3.771 GB, free: 154.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/8.128, allocations: 3.5 kB / 3.771 GB, free: 154.2 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001477/8.129, allocations: 0.7104 MB / 3.771 GB, free: 154.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.512e-06/8.13, allocations: 4.359 kB / 3.771 GB, free: 154.1 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006129/8.13, allocations: 216.4 kB / 3.772 GB, free: 154.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002172/8.13, allocations: 62.48 kB / 3.772 GB, free: 154.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003475/8.134, allocations: 3.053 MB / 3.775 GB, free: 152.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001011/8.135, allocations: 94.36 kB / 3.775 GB, free: 152.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.179e-05/8.135, allocations: 21.5 kB / 3.775 GB, free: 152.7 MB / 0.6511 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 () * Number of clocked 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.0008447/8.136, allocations: 471.9 kB / 3.775 GB, free: 152.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001624/8.136, allocations: 104.8 kB / 3.775 GB, free: 152.4 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002095/8.136, allocations: 118.8 kB / 3.775 GB, free: 152.4 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.829e-06/8.136, allocations: 3.25 kB / 3.775 GB, free: 152.4 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/8.136, allocations: 1.062 kB / 3.775 GB, free: 152.4 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.947e-06/8.136, allocations: 0 / 3.775 GB, free: 152.4 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01996/8.156, allocations: 5.194 MB / 3.78 GB, free: 152 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.359e-05/8.156, allocations: 1.281 kB / 3.78 GB, free: 152 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001494/8.156, allocations: 23.56 kB / 3.78 GB, free: 152 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002782/8.159, allocations: 1.028 MB / 3.781 GB, free: 152 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.032e-05/8.159, allocations: 11.64 kB / 3.781 GB, free: 152 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03917/8.198, allocations: 13.38 MB / 3.795 GB, free: 150.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/8.199, allocations: 0 / 3.795 GB, free: 150.6 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0168/8.215, allocations: 4.293 MB / 3.799 GB, free: 150.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006688/8.216, allocations: 178.3 kB / 3.799 GB, free: 150.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001979/8.216, allocations: 10.06 kB / 3.799 GB, free: 150.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001091/8.217, allocations: 182.9 kB / 3.799 GB, free: 150.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003429/8.218, allocations: 47.72 kB / 3.799 GB, free: 150.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.965e-05/8.218, allocations: 21.97 kB / 3.799 GB, free: 150.1 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001143/8.219, allocations: 0.7828 MB / 3.8 GB, free: 150 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/8.219, allocations: 0 / 3.8 GB, free: 150 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0026/8.222, allocations: 0.61 MB / 3.801 GB, free: 149.9 MB / 0.6511 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) * Number of clocked states: 0 () * 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.01854/8.24, allocations: 6.117 MB / 3.806 GB, free: 148.6 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.009159/8.249, allocations: 2.864 MB / 3.809 GB, free: 148.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 8.666e-06/8.249, allocations: 0 / 3.809 GB, free: 148.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.006606/8.256, allocations: 1.833 MB / 3.811 GB, free: 148.1 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002183/8.258, allocations: 472.3 kB / 3.812 GB, free: 148.1 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02936/8.288, allocations: 14 MB / 3.825 GB, free: 142.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006476/8.288, allocations: 1.216 MB / 3.826 GB, free: 142.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001137/8.289, allocations: 295.4 kB / 3.827 GB, free: 142.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003478/8.29, allocations: 321.3 kB / 3.827 GB, free: 142.1 MB / 0.6511 GB Notification: Performance of SimCode: time 1.342e-06/8.29, allocations: 2.734 kB / 3.827 GB, free: 142.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08119/8.371, allocations: 51.83 MB / 3.878 GB, free: 109.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002545/8.371, allocations: 264.1 kB / 3.878 GB, free: 109.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.887/12.26, allocations: 0 / 3.878 GB, free: 109.2 MB / 0.6511 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)