Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesDp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8546/0.8546, allocations: 141.8 MB / 149.3 MB, free: 9.223 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 184.6 kB / 182.2 MB, free: 9.434 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.528/1.528, allocations: 221.5 MB / 436.4 MB, free: 13.33 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001186/0.001186, allocations: 100 kB / 0.5074 GB, free: 10.14 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001821/0.001821, allocations: 272.4 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.168e-05/2.172e-05, allocations: 4 kB / 0.6766 GB, free: 12.75 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4973/0.4973, allocations: 82.77 MB / 0.7575 GB, free: 31.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.918/5.415, allocations: 1.831 GB / 2.589 GB, free: 231.9 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002449/5.415, allocations: 87.28 kB / 2.589 GB, free: 231.8 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.05/8.466, allocations: 0.9703 GB / 3.559 GB, free: 60.16 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.665e-06/8.466, allocations: 4 kB / 3.559 GB, free: 60.16 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.136e-05/8.466, allocations: 27.98 kB / 3.559 GB, free: 60.13 MB / 0.698 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.001644/8.467, allocations: 1.155 MB / 3.56 GB, free: 58.92 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.05e-05/8.467, allocations: 12.02 kB / 3.56 GB, free: 58.91 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007065/8.468, allocations: 186.4 kB / 3.561 GB, free: 58.73 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00188/8.47, allocations: 1.101 MB / 3.562 GB, free: 57.57 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.402e-05/8.47, allocations: 19.98 kB / 3.562 GB, free: 57.55 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.11e-05/8.47, allocations: 36 kB / 3.562 GB, free: 57.51 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006361/8.471, allocations: 470.3 kB / 3.562 GB, free: 57.05 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000738/8.472, allocations: 0.6727 MB / 3.563 GB, free: 56.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.551e-05/8.472, allocations: 0 / 3.563 GB, free: 56.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.383e-05/8.472, allocations: 7.984 kB / 3.563 GB, free: 56.29 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.1e-05/8.472, allocations: 12 kB / 3.563 GB, free: 56.28 MB / 0.698 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.002798/8.474, allocations: 4.473 MB / 3.567 GB, free: 51.44 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004534/8.475, allocations: 442.4 kB / 3.568 GB, free: 51 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000237/8.475, allocations: 234.5 kB / 3.568 GB, free: 50.77 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002473/8.475, allocations: 198.2 kB / 3.568 GB, free: 50.54 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003305/8.476, allocations: 259.7 kB / 3.568 GB, free: 50.26 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 1.713e-06/8.476, allocations: 3.938 kB / 3.568 GB, free: 50.26 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.001476/8.477, allocations: 0.7388 MB / 3.569 GB, free: 49.51 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.94e-05/8.477, allocations: 85.11 kB / 3.569 GB, free: 49.41 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008102/8.478, allocations: 0.8599 MB / 3.57 GB, free: 48.53 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.736e-05/8.478, allocations: 29.7 kB / 3.57 GB, free: 48.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003009/8.478, allocations: 488.2 kB / 3.57 GB, free: 48.02 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.909e-05/8.479, allocations: 102.6 kB / 3.571 GB, free: 47.91 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.102e-05/8.479, allocations: 0 / 3.571 GB, free: 47.91 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.302e-05/8.479, allocations: 322 kB / 3.571 GB, free: 47.59 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001973/8.479, allocations: 176.8 kB / 3.571 GB, free: 47.42 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003163/8.479, allocations: 0.4921 MB / 3.571 GB, free: 46.79 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/8.479, allocations: 270 kB / 3.572 GB, free: 46.52 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.807e-06/8.479, allocations: 4 kB / 3.572 GB, free: 46.52 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001265/8.481, allocations: 0.8828 MB / 3.573 GB, free: 45.62 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003486/8.481, allocations: 2.139 MB / 3.575 GB, free: 43.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/8.481, allocations: 4 kB / 3.575 GB, free: 43.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004063/8.481, allocations: 242.4 kB / 3.575 GB, free: 43.08 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002188/8.482, allocations: 67.84 kB / 3.575 GB, free: 43.01 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001198/8.483, allocations: 1.186 MB / 3.576 GB, free: 41.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007904/8.484, allocations: 91.45 kB / 3.576 GB, free: 41.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.726e-05/8.484, allocations: 24 kB / 3.576 GB, free: 41.69 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.898e-06/8.484, allocations: 8 kB / 3.576 GB, free: 41.68 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008898/8.485, allocations: 0.5707 MB / 3.577 GB, free: 41.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/8.485, allocations: 8.094 kB / 3.577 GB, free: 41.1 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004666/8.485, allocations: 209.3 kB / 3.577 GB, free: 40.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000194/8.485, allocations: 71.84 kB / 3.577 GB, free: 40.82 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002665/8.488, allocations: 2.856 MB / 3.58 GB, free: 37.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007529/8.489, allocations: 83.67 kB / 3.58 GB, free: 37.75 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.117e-05/8.489, allocations: 24 kB / 3.58 GB, free: 37.73 MB / 0.698 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_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 (34): * Single equations (assignments): 32 * 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.0001896/8.489, allocations: 128.8 kB / 3.58 GB, free: 37.6 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0008809/8.49, allocations: 0.6138 MB / 3.581 GB, free: 36.97 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.638e-05/8.49, allocations: 90.88 kB / 3.581 GB, free: 36.88 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001034/8.491, allocations: 0.6436 MB / 3.581 GB, free: 36.23 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.179e-06/8.491, allocations: 4 kB / 3.581 GB, free: 36.23 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/8.491, allocations: 11.92 kB / 3.581 GB, free: 36.21 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/8.491, allocations: 3.984 kB / 3.581 GB, free: 36.21 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002017/8.493, allocations: 1.463 MB / 3.583 GB, free: 34.68 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/8.493, allocations: 4 kB / 3.583 GB, free: 34.68 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001072/8.493, allocations: 23.92 kB / 3.583 GB, free: 34.65 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002949/8.494, allocations: 211.4 kB / 3.583 GB, free: 34.45 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.129e-05/8.494, allocations: 7.984 kB / 3.583 GB, free: 34.44 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007662/8.494, allocations: 1.03 MB / 3.584 GB, free: 33.38 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.49e-06/8.494, allocations: 8.031 kB / 3.584 GB, free: 33.38 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000824/8.495, allocations: 0.8549 MB / 3.585 GB, free: 32.44 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003576/8.496, allocations: 211.9 kB / 3.585 GB, free: 32.21 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.505e-05/8.496, allocations: 0 / 3.585 GB, free: 32.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005086/8.496, allocations: 59.78 kB / 3.585 GB, free: 32.15 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.499e-05/8.496, allocations: 31.86 kB / 3.585 GB, free: 32.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.333e-05/8.496, allocations: 15.98 kB / 3.585 GB, free: 32.11 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006413/8.497, allocations: 0.6652 MB / 3.586 GB, free: 31.43 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/8.497, allocations: 4 kB / 3.586 GB, free: 31.43 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001469/8.499, allocations: 487.5 kB / 3.586 GB, free: 30.95 MB / 0.698 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_p.T_start,pulse_p.count) * Number of discrete states: 1 (pulse_p.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 9 * 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.002232/8.501, allocations: 2.789 MB / 3.589 GB, free: 28.08 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002118/8.503, allocations: 1.109 MB / 3.59 GB, free: 26.94 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/8.503, allocations: 0 / 3.59 GB, free: 26.94 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004284/8.503, allocations: 252.1 kB / 3.59 GB, free: 26.69 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001789/8.505, allocations: 392.9 kB / 3.591 GB, free: 26.31 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002471/8.508, allocations: 1.595 MB / 3.592 GB, free: 24.65 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000546/8.508, allocations: 1.209 MB / 3.594 GB, free: 23.41 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001588/8.51, allocations: 0.6783 MB / 3.594 GB, free: 22.73 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002573/8.51, allocations: 291.3 kB / 3.594 GB, free: 22.44 MB / 0.698 GB Notification: Performance of SimCode: time 1.233e-06/8.51, allocations: 4 kB / 3.594 GB, free: 22.44 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4766/8.987, allocations: 32.23 MB / 3.626 GB, free: 187.9 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00015/8.987, allocations: 188.4 kB / 3.626 GB, free: 187.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.088/12.08, allocations: 0 / 3.626 GB, free: 187.7 MB / 0.698 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Examples_Performance_PressureDrop_SeriesDp.fmu > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)