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.7183/0.7183, allocations: 127.3 MB / 139.8 MB, free: 15.48 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00127/0.00127, allocations: 172.9 kB / 169.7 MB, free: 1.738 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.749/1.749, allocations: 205.1 MB / 404.5 MB, free: 1.59 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.0008624/0.0008623, allocations: 83.73 kB / 481.8 MB, free: 4.238 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.663e-05/3.702e-05, allocations: 4 kB / 0.5533 GB, free: 54.74 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1587/0.1587, allocations: 76.76 MB / 0.6283 GB, free: 9.922 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.486/5.645, allocations: 2.142 GB / 2.77 GB, free: 138.9 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002813/5.645, allocations: 93.81 kB / 2.77 GB, free: 138.9 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.435/9.08, allocations: 0.9598 GB / 3.73 GB, free: 163.4 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.362e-06/9.08, allocations: 3.5 kB / 3.73 GB, free: 163.4 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.000102/9.08, allocations: 36.34 kB / 3.73 GB, free: 163.4 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.001907/9.082, allocations: 1.142 MB / 3.731 GB, free: 162.8 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/9.082, allocations: 15.56 kB / 3.731 GB, free: 162.8 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001053/9.082, allocations: 92.03 kB / 3.731 GB, free: 162.7 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007303/9.083, allocations: 185.2 kB / 3.731 GB, free: 162.7 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002128/9.085, allocations: 1.126 MB / 3.732 GB, free: 162.4 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.11e-05/9.085, allocations: 45.72 kB / 3.732 GB, free: 162.4 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.501e-05/9.085, allocations: 56.34 kB / 3.732 GB, free: 162.4 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003556/9.089, allocations: 1.369 MB / 3.734 GB, free: 162.1 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/9.089, allocations: 3.656 kB / 3.734 GB, free: 162.1 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.021e-05/9.089, allocations: 27.12 kB / 3.734 GB, free: 162.1 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.337e-05/9.089, allocations: 11.47 kB / 3.734 GB, free: 162.1 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003327/9.092, allocations: 1.108 MB / 3.735 GB, free: 162 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.00355/9.096, allocations: 4.421 MB / 3.739 GB, free: 158.3 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003112/9.099, allocations: 1.035 MB / 3.74 GB, free: 158.1 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002548/9.099, allocations: 222.2 kB / 3.74 GB, free: 158.1 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002686/9.099, allocations: 198.7 kB / 3.741 GB, free: 157.9 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002951/9.102, allocations: 0.9001 MB / 3.741 GB, free: 157.7 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=30): time 1.883e-06/9.102, allocations: 3.172 kB / 3.741 GB, free: 157.7 MB / 0.6511 GB Notification: Performance of matching and sorting (n=30): time 0.01847/9.121, allocations: 4.452 MB / 3.746 GB, free: 157.4 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.735e-05/9.121, allocations: 83.27 kB / 3.746 GB, free: 157.3 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001439/9.122, allocations: 0.9703 MB / 3.747 GB, free: 156.9 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000152/9.122, allocations: 41.36 kB / 3.747 GB, free: 156.9 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004011/9.123, allocations: 0.4957 MB / 3.747 GB, free: 156.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001115/9.123, allocations: 105.2 kB / 3.747 GB, free: 156.5 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.735e-05/9.123, allocations: 8 kB / 3.747 GB, free: 156.5 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 8.29e-05/9.123, allocations: 324.6 kB / 3.748 GB, free: 156.1 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004306/9.124, allocations: 321.5 kB / 3.748 GB, free: 156.1 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005627/9.124, allocations: 0.6296 MB / 3.749 GB, free: 155.6 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004972/9.125, allocations: 392.3 kB / 3.749 GB, free: 155.5 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/9.125, allocations: 3.938 kB / 3.749 GB, free: 155.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=53) (initialization): time 0.01407/9.139, allocations: 3.673 MB / 3.753 GB, free: 154.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.000504/9.139, allocations: 2.045 MB / 3.755 GB, free: 152.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/9.139, allocations: 7.75 kB / 3.755 GB, free: 152.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001104/9.14, allocations: 0.6407 MB / 3.755 GB, free: 152.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002779/9.141, allocations: 62.53 kB / 3.755 GB, free: 152.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006415/9.147, allocations: 2.627 MB / 3.758 GB, free: 151 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001733/9.149, allocations: 230 kB / 3.758 GB, free: 150.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/9.149, allocations: 29.64 kB / 3.758 GB, free: 150.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/9.149, allocations: 3.906 kB / 3.758 GB, free: 150.9 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001127/9.15, allocations: 0.6651 MB / 3.759 GB, free: 150.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/9.15, allocations: 7.25 kB / 3.759 GB, free: 150.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005413/9.151, allocations: 214.8 kB / 3.759 GB, free: 150.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002031/9.151, allocations: 64.59 kB / 3.759 GB, free: 150.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003004/9.154, allocations: 2.978 MB / 3.762 GB, free: 148.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001024/9.155, allocations: 93.84 kB / 3.762 GB, free: 148.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.863e-05/9.155, allocations: 27.25 kB / 3.762 GB, free: 148 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 () * 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.0002785/9.155, allocations: 139.8 kB / 3.762 GB, free: 147.9 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003128/9.156, allocations: 92.69 kB / 3.762 GB, free: 147.9 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003113/9.156, allocations: 112.6 kB / 3.762 GB, free: 147.8 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.519e-06/9.156, allocations: 3.875 kB / 3.762 GB, free: 147.8 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/9.156, allocations: 4 kB / 3.762 GB, free: 147.8 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/9.156, allocations: 0 / 3.762 GB, free: 147.8 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01514/9.171, allocations: 4.583 MB / 3.767 GB, free: 145.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.123e-05/9.171, allocations: 0 / 3.767 GB, free: 145.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001369/9.171, allocations: 25.55 kB / 3.767 GB, free: 145.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001031/9.172, allocations: 0.6163 MB / 3.767 GB, free: 145.1 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-05/9.173, allocations: 19.61 kB / 3.768 GB, free: 145 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02872/9.201, allocations: 10.63 MB / 3.778 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/9.201, allocations: 0 / 3.778 GB, free: 134.8 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01347/9.215, allocations: 3.672 MB / 3.781 GB, free: 131.1 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006008/9.215, allocations: 175.9 kB / 3.782 GB, free: 130.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004386/9.216, allocations: 8 kB / 3.782 GB, free: 130.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00135/9.217, allocations: 187.6 kB / 3.782 GB, free: 130.7 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003588/9.218, allocations: 51.81 kB / 3.782 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.602e-05/9.218, allocations: 19.97 kB / 3.782 GB, free: 130.6 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001325/9.219, allocations: 0.7688 MB / 3.783 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.31e-07/9.219, allocations: 0 / 3.783 GB, free: 129.8 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00341/9.222, allocations: 0.609 MB / 3.783 GB, free: 129.2 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) * 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.01534/9.238, allocations: 5.497 MB / 3.789 GB, free: 123.8 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.007271/9.245, allocations: 2.448 MB / 3.791 GB, free: 121.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.131e-06/9.245, allocations: 0 / 3.791 GB, free: 121.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.005235/9.25, allocations: 1.607 MB / 3.793 GB, free: 119.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002487/9.253, allocations: 458.4 kB / 3.793 GB, free: 119.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003948/9.257, allocations: 1.848 MB / 3.795 GB, free: 117.4 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006824/9.258, allocations: 1.21 MB / 3.796 GB, free: 116.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.001954/9.26, allocations: 0.7018 MB / 3.797 GB, free: 115.4 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003346/9.26, allocations: 303.3 kB / 3.797 GB, free: 115.1 MB / 0.6511 GB Notification: Performance of SimCode: time 9.01e-07/9.26, allocations: 0 / 3.797 GB, free: 115.1 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09064/9.351, allocations: 55.61 MB / 3.851 GB, free: 60.01 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001951/9.351, allocations: 240.5 kB / 3.852 GB, free: 59.69 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.059/13.41, allocations: 0 / 3.852 GB, free: 59.69 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)