Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.574/1.574, allocations: 252 MB / 267 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001108/0.001108, allocations: 172 kB / 326.6 MB, free: 2.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.767/1.767, allocations: 205.4 MB / 0.5777 GB, free: 20.54 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000773/0.0007729, allocations: 89.7 kB / 0.6823 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003684/0.0003685, allocations: 11.59 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2222/0.2226, allocations: 106.3 MB / 0.9003 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp): time 0.1593/0.3819, allocations: 146.8 MB / 1.044 GB, free: 12.93 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.005423/0.3874, allocations: 3.414 MB / 1.047 GB, free: 9.508 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004279/0.3879, allocations: 15.88 kB / 1.047 GB, free: 9.492 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005009/0.3884, allocations: 111.2 kB / 1.047 GB, free: 9.383 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001294/0.3897, allocations: 405.1 kB / 1.048 GB, free: 8.988 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001305/0.391, allocations: 367.3 kB / 1.048 GB, free: 8.633 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003104/0.3941, allocations: 3 MB / 1.051 GB, free: 5.625 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001282/0.3954, allocations: 0.6876 MB / 1.052 GB, free: 4.934 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002003/0.3974, allocations: 0.8714 MB / 1.052 GB, free: 4.059 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001183/0.3986, allocations: 0.6962 MB / 1.053 GB, free: 3.359 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001057/0.3988, allocations: 36 kB / 1.053 GB, free: 3.324 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001342/0.4001, allocations: 0.5574 MB / 1.054 GB, free: 2.766 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003076/0.4004, allocations: 282.9 kB / 1.054 GB, free: 2.488 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0003882/0.4008, allocations: 233.1 kB / 1.054 GB, free: 2.254 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001209/0.402, allocations: 1.025 MB / 1.055 GB, free: 1.227 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.4021, allocations: 0 / 1.055 GB, free: 1.227 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.456e-06/0.4021, allocations: 0 / 1.055 GB, free: 1.227 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.795e-05/0.4021, allocations: 3.938 kB / 1.055 GB, free: 1.223 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.4484/0.8505, allocations: 1.297 MB / 1.056 GB, free: 157.7 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.202e-05/0.8506, allocations: 9.188 kB / 1.056 GB, free: 157.7 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004376/0.851, allocations: 94.25 kB / 1.056 GB, free: 157.7 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001161/0.8522, allocations: 189 kB / 1.057 GB, free: 157.6 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002186/0.8544, allocations: 0.7943 MB / 1.057 GB, free: 157.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.475e-05/0.8545, allocations: 43.66 kB / 1.057 GB, free: 157.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001694/0.8547, allocations: 65.81 kB / 1.058 GB, free: 157.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001644/0.8564, allocations: 0.797 MB / 1.058 GB, free: 157.1 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.409e-05/0.8564, allocations: 4.859 kB / 1.058 GB, free: 157.1 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.989e-05/0.8565, allocations: 24.88 kB / 1.058 GB, free: 157.1 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.627e-05/0.8565, allocations: 13.28 kB / 1.058 GB, free: 157.1 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.8576, allocations: 0.5393 MB / 1.059 GB, free: 157.1 MB / 0.698 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.005307/0.8629, allocations: 4.602 MB / 1.063 GB, free: 153.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008952/0.8638, allocations: 432.2 kB / 1.064 GB, free: 153.6 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004129/0.8643, allocations: 253.6 kB / 1.064 GB, free: 153.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003033/0.8646, allocations: 197.8 kB / 1.064 GB, free: 153.4 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006254/0.8652, allocations: 301.5 kB / 1.065 GB, free: 153.3 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 3.336e-06/0.8652, allocations: 3.844 kB / 1.065 GB, free: 153.3 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.006108/0.8714, allocations: 1.662 MB / 1.066 GB, free: 153 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.8714, allocations: 83.11 kB / 1.066 GB, free: 152.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002395/0.8739, allocations: 1.111 MB / 1.067 GB, free: 152.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001177/0.874, allocations: 42.52 kB / 1.067 GB, free: 152.8 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007139/0.8747, allocations: 498.8 kB / 1.068 GB, free: 152.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001607/0.8749, allocations: 113.1 kB / 1.068 GB, free: 152.5 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.824e-05/0.8749, allocations: 9.625 kB / 1.068 GB, free: 152.5 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.393e-05/0.875, allocations: 326.8 kB / 1.068 GB, free: 152.2 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005473/0.8756, allocations: 183.6 kB / 1.068 GB, free: 152.2 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007911/0.8764, allocations: 0.4972 MB / 1.069 GB, free: 151.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006804/0.8771, allocations: 295.8 kB / 1.069 GB, free: 151.8 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-05/0.8771, allocations: 2.094 kB / 1.069 GB, free: 151.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.003573/0.8807, allocations: 0.9883 MB / 1.07 GB, free: 151.6 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002403/0.881, allocations: 277.5 kB / 1.07 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.33e-05/0.881, allocations: 5.812 kB / 1.07 GB, free: 151.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001729/0.8827, allocations: 361.1 kB / 1.071 GB, free: 151.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003127/0.8831, allocations: 63.16 kB / 1.071 GB, free: 151.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001813/0.8849, allocations: 1.095 MB / 1.072 GB, free: 150.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/0.8861, allocations: 104.7 kB / 1.072 GB, free: 150.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001272/0.8863, allocations: 24 kB / 1.072 GB, free: 150.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.8863, allocations: 3.969 kB / 1.072 GB, free: 150.7 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001967/0.8883, allocations: 0.7364 MB / 1.073 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.861e-05/0.8883, allocations: 9.891 kB / 1.073 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008514/0.8892, allocations: 220.1 kB / 1.073 GB, free: 150.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002806/0.8895, allocations: 67.59 kB / 1.073 GB, free: 150.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004673/0.8942, allocations: 3.033 MB / 1.076 GB, free: 149.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001141/0.8953, allocations: 93.94 kB / 1.076 GB, free: 149 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-05/0.8954, allocations: 23.62 kB / 1.076 GB, free: 149 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 () * Number of clocked 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.0009523/0.8964, allocations: 472.6 kB / 1.077 GB, free: 148.8 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003257/0.8967, allocations: 102.8 kB / 1.077 GB, free: 148.8 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001669/0.8984, allocations: 0.7168 MB / 1.077 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.8984, allocations: 7.781 kB / 1.077 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.8985, allocations: 1.219 kB / 1.077 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.032e-06/0.8985, allocations: 0 / 1.077 GB, free: 148.7 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003329/0.9018, allocations: 1.62 MB / 1.079 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.853e-06/0.9018, allocations: 0.9688 kB / 1.079 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000135/0.902, allocations: 26.72 kB / 1.079 GB, free: 147.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006205/0.9026, allocations: 253.8 kB / 1.079 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.85e-05/0.9027, allocations: 7.438 kB / 1.079 GB, free: 147.8 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001124/0.9038, allocations: 1.037 MB / 1.08 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.651e-06/0.9038, allocations: 5.406 kB / 1.08 GB, free: 147.1 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001664/0.9055, allocations: 0.8383 MB / 1.081 GB, free: 146.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005598/0.906, allocations: 220.9 kB / 1.081 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003024/0.9064, allocations: 12.64 kB / 1.081 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007382/0.9071, allocations: 60.03 kB / 1.081 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001086/0.9072, allocations: 30.53 kB / 1.081 GB, free: 146.5 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-05/0.9073, allocations: 12.52 kB / 1.081 GB, free: 146.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001422/0.9087, allocations: 0.79 MB / 1.082 GB, free: 146.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/0.9087, allocations: 0 / 1.082 GB, free: 146.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002233/0.9109, allocations: 448.2 kB / 1.083 GB, free: 146.2 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) * Number of clocked states: 0 () * 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.002014/0.913, allocations: 1.371 MB / 1.084 GB, free: 145.3 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002888/0.9159, allocations: 1.198 MB / 1.085 GB, free: 144.6 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.9159, allocations: 0 / 1.085 GB, free: 144.6 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000766/0.9167, allocations: 283.1 kB / 1.085 GB, free: 144.5 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00289/0.9196, allocations: 455.4 kB / 1.086 GB, free: 144.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01445/0.9341, allocations: 6.611 MB / 1.092 GB, free: 138.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006593/0.9348, allocations: 1.184 MB / 1.093 GB, free: 137.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001005/0.9358, allocations: 307.6 kB / 1.094 GB, free: 137.3 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003573/0.9362, allocations: 307.3 kB / 1.094 GB, free: 137 MB / 0.698 GB Notification: Performance of SimCode: time 1.142e-06/0.9362, allocations: 4 kB / 1.094 GB, free: 137 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04589/0.9821, allocations: 27.62 MB / 1.121 GB, free: 109.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001934/0.9823, allocations: 274.6 kB / 1.121 GB, free: 109.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.056/4.039, allocations: 0 / 1.121 GB, free: 109.3 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesDp.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesDp.pipe 2>&1)