Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",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.446/1.446, allocations: 251.9 MB / 266.9 MB, free: 11.01 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.001144/0.001144, allocations: 171.5 kB / 326.5 MB, free: 2.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.119/2.119, allocations: 205.4 MB / 0.5775 GB, free: 20.25 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.001173/0.001173, allocations: 95.78 kB / 0.6821 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003407/0.0003408, allocations: 7.844 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2524, allocations: 106.3 MB / 0.9001 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1622/0.4146, allocations: 135.8 MB / 1.033 GB, free: 7.684 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.003419/0.4181, allocations: 1.721 MB / 1.034 GB, free: 5.961 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003532/0.4185, allocations: 7.938 kB / 1.034 GB, free: 5.953 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0006912/0.4192, allocations: 187.1 kB / 1.035 GB, free: 5.77 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001552/0.4207, allocations: 0.4986 MB / 1.035 GB, free: 5.27 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.00138/0.4221, allocations: 453.9 kB / 1.036 GB, free: 4.832 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001856/0.424, allocations: 1.482 MB / 1.037 GB, free: 3.348 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009912/0.425, allocations: 0.7072 MB / 1.038 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001082/0.4261, allocations: 0.6929 MB / 1.038 GB, free: 1.934 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005627/0.4267, allocations: 497.9 kB / 1.039 GB, free: 1.445 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 7.215e-05/0.4267, allocations: 35.94 kB / 1.039 GB, free: 1.41 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009198/0.4277, allocations: 411.4 kB / 1.039 GB, free: 1.008 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002507/0.4279, allocations: 263.1 kB / 1.04 GB, free: 0.75 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002532/0.4282, allocations: 233.1 kB / 1.04 GB, free: 0.5156 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001047/0.4293, allocations: 0.9668 MB / 1.041 GB, free: 15.55 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.4293, allocations: 0 / 1.041 GB, free: 15.55 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.823e-06/0.4293, allocations: 0 / 1.041 GB, free: 15.55 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.4293, allocations: 4 kB / 1.041 GB, free: 15.54 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.002174/0.4315, allocations: 1.288 MB / 1.042 GB, free: 14.19 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.606e-05/0.4315, allocations: 12.03 kB / 1.042 GB, free: 14.18 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001211/0.4317, allocations: 90.52 kB / 1.042 GB, free: 14.08 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007006/0.4324, allocations: 182.5 kB / 1.042 GB, free: 13.9 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001522/0.4339, allocations: 0.7962 MB / 1.043 GB, free: 13.05 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.234e-05/0.434, allocations: 44.98 kB / 1.043 GB, free: 13.01 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.284e-05/0.4341, allocations: 60 kB / 1.043 GB, free: 12.95 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001192/0.4353, allocations: 0.7906 MB / 1.044 GB, free: 12.08 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.745e-05/0.4353, allocations: 7.938 kB / 1.044 GB, free: 12.07 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.438e-05/0.4353, allocations: 20 kB / 1.044 GB, free: 12.05 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.564e-05/0.4354, allocations: 16 kB / 1.044 GB, free: 12.04 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009793/0.4363, allocations: 0.5423 MB / 1.044 GB, free: 11.5 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.00472/0.4411, allocations: 4.614 MB / 1.049 GB, free: 6.5 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007599/0.4419, allocations: 438.2 kB / 1.049 GB, free: 6.062 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 6.877e-05/0.4419, allocations: 11.98 kB / 1.049 GB, free: 6.051 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005086/0.4424, allocations: 294.3 kB / 1.05 GB, free: 5.742 MB / 0.698 GB Notification: Performance of pre-optimization done (n=31): time 2.134e-06/0.4425, allocations: 0 / 1.05 GB, free: 5.742 MB / 0.698 GB Notification: Performance of matching and sorting (n=31): time 0.001439/0.4439, allocations: 0.6483 MB / 1.05 GB, free: 5.086 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.696e-05/0.444, allocations: 110.8 kB / 1.05 GB, free: 4.953 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001347/0.4454, allocations: 1.106 MB / 1.051 GB, free: 3.828 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.102e-05/0.4454, allocations: 41.7 kB / 1.052 GB, free: 3.781 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004734/0.4459, allocations: 492.1 kB / 1.052 GB, free: 3.293 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.446, allocations: 110.5 kB / 1.052 GB, free: 3.184 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.265e-05/0.446, allocations: 8 kB / 1.052 GB, free: 3.176 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.4462, allocations: 326 kB / 1.052 GB, free: 2.852 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003362/0.4465, allocations: 184.7 kB / 1.053 GB, free: 2.668 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005767/0.4471, allocations: 0.4935 MB / 1.053 GB, free: 2.047 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004557/0.4476, allocations: 298.4 kB / 1.053 GB, free: 1.75 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.4476, allocations: 224 / 1.053 GB, free: 1.75 MB / 0.698 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001104/0.4487, allocations: 0.6841 MB / 1.054 GB, free: 1.055 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.51/0.9587, allocations: 2.137 MB / 1.056 GB, free: 153.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.52e-05/0.9588, allocations: 3.938 kB / 1.056 GB, free: 153.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.933e-05/0.9588, allocations: 7.656 kB / 1.056 GB, free: 153.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006738/0.9595, allocations: 113.1 kB / 1.056 GB, free: 153.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.186e-05/0.9596, allocations: 15.72 kB / 1.056 GB, free: 153.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/0.9607, allocations: 109.8 kB / 1.056 GB, free: 153.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.749e-05/0.9608, allocations: 23.14 kB / 1.056 GB, free: 153.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.516e-05/0.9609, allocations: 4.625 kB / 1.056 GB, free: 153.7 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001232/0.9621, allocations: 0.543 MB / 1.057 GB, free: 153.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.9621, allocations: 5 kB / 1.057 GB, free: 153.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.9621, allocations: 10.38 kB / 1.057 GB, free: 153.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003566/0.9625, allocations: 106 kB / 1.057 GB, free: 153.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.631e-05/0.9625, allocations: 15.62 kB / 1.057 GB, free: 153.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009671/0.9635, allocations: 98.7 kB / 1.057 GB, free: 153.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.016e-05/0.9636, allocations: 26.03 kB / 1.057 GB, free: 153.7 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 (53): * Single equations (assignments): 52 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007603/0.9643, allocations: 466.5 kB / 1.058 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001797/0.9645, allocations: 101.4 kB / 1.058 GB, free: 153.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008951/0.9654, allocations: 483.7 kB / 1.058 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.746e-06/0.9654, allocations: 4 kB / 1.058 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.053e-06/0.9654, allocations: 0 / 1.058 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.903e-06/0.9655, allocations: 1.344 kB / 1.058 GB, free: 153.4 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001534/0.967, allocations: 1.102 MB / 1.059 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.568e-06/0.967, allocations: 2.906 kB / 1.059 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002458/0.9673, allocations: 68.5 kB / 1.059 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.255e-06/0.9673, allocations: 4.562 kB / 1.059 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.407e-05/0.9673, allocations: 6.938 kB / 1.059 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.639e-06/0.9673, allocations: 6.906 kB / 1.059 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.9673, allocations: 3.625 kB / 1.059 GB, free: 153 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007468/0.9681, allocations: 0.6289 MB / 1.06 GB, free: 152.7 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003299/0.9684, allocations: 216.7 kB / 1.06 GB, free: 152.6 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/0.9686, allocations: 13.69 kB / 1.06 GB, free: 152.6 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004437/0.969, allocations: 57.97 kB / 1.06 GB, free: 152.6 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.133e-05/0.9691, allocations: 38.78 kB / 1.06 GB, free: 152.6 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.298e-05/0.9691, allocations: 9.719 kB / 1.06 GB, free: 152.6 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0009915/0.9701, allocations: 0.781 MB / 1.061 GB, free: 152.4 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.102e-06/0.9701, allocations: 0 / 1.061 GB, free: 152.4 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001089/0.9712, allocations: 412.3 kB / 1.061 GB, free: 152.4 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 (31): * Single equations (assignments): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001423/0.9727, allocations: 1.729 MB / 1.063 GB, free: 151.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001386/0.9741, allocations: 0.7954 MB / 1.064 GB, free: 151 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.9741, allocations: 3.438 kB / 1.064 GB, free: 151 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003639/0.9744, allocations: 209.2 kB / 1.064 GB, free: 151 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001925/0.9764, allocations: 460.8 kB / 1.065 GB, free: 150.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01538/0.9918, allocations: 9.548 MB / 1.074 GB, free: 145.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001194/0.993, allocations: 1.201 MB / 1.075 GB, free: 144.8 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.001841/0.9949, allocations: 423.5 kB / 1.075 GB, free: 144.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000643/0.9955, allocations: 330.9 kB / 1.076 GB, free: 144.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.573e-06/0.9956, allocations: 0 / 1.076 GB, free: 144.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04807/1.044, allocations: 25.52 MB / 1.101 GB, free: 126.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002021/1.044, allocations: 253.5 kB / 1.101 GB, free: 126.3 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.735/3.778, allocations: 4 kB / 1.101 GB, free: 126.3 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)