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.834/1.834, allocations: 252 MB / 267.3 MB, free: 10.84 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.001324/0.001324, allocations: 178.4 kB / 327 MB, free: 2.098 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.561/1.561, allocations: 205.4 MB / 0.578 GB, free: 20.13 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.0007387/0.0007386, allocations: 83.56 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0005189/0.0005191, allocations: 10.66 kB / 0.7971 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2881/0.2886, allocations: 106.3 MB / 0.9009 GB, free: 63.39 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.2347/0.5234, allocations: 157.4 MB / 1.055 GB, free: 1.363 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.6258/1.149, allocations: 1.785 MB / 1.056 GB, free: 1.996 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007666/1.15, allocations: 10.22 kB / 1.056 GB, free: 1.996 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.000956/1.151, allocations: 133.6 kB / 1.057 GB, free: 1.996 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002733/1.154, allocations: 0.4927 MB / 1.057 GB, free: 1.992 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002071/1.156, allocations: 350.7 kB / 1.057 GB, free: 1.984 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.005877/1.162, allocations: 3.477 MB / 1.061 GB, free: 1.973 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002029/1.164, allocations: 0.7427 MB / 1.061 GB, free: 1.863 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002948/1.167, allocations: 0.8757 MB / 1.062 GB, free: 1.855 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002109/1.169, allocations: 0.7339 MB / 1.063 GB, free: 1.855 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0004477/1.169, allocations: 34 kB / 1.063 GB, free: 1.855 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003284/1.173, allocations: 0.7964 MB / 1.064 GB, free: 1.852 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.000878/1.174, allocations: 288.3 kB / 1.064 GB, free: 1.852 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001979/1.176, allocations: 0.5394 MB / 1.065 GB, free: 17.82 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.00419/1.18, allocations: 1.398 MB / 1.066 GB, free: 17.71 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/1.18, allocations: 0.9375 kB / 1.066 GB, free: 17.71 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.454e-06/1.18, allocations: 0 / 1.066 GB, free: 17.71 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.972e-05/1.18, allocations: 2.25 kB / 1.066 GB, free: 17.71 MB / 0.7136 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.005366/1.185, allocations: 1.294 MB / 1.067 GB, free: 16.91 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/1.186, allocations: 9.562 kB / 1.067 GB, free: 16.91 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003278/1.186, allocations: 95.52 kB / 1.067 GB, free: 16.87 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001142/1.187, allocations: 187.9 kB / 1.068 GB, free: 16.8 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002272/1.189, allocations: 0.8292 MB / 1.068 GB, free: 16.45 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.293e-05/1.189, allocations: 45.41 kB / 1.068 GB, free: 16.45 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001595/1.19, allocations: 59.16 kB / 1.068 GB, free: 16.45 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001639/1.191, allocations: 0.8029 MB / 1.069 GB, free: 16.21 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.254e-05/1.191, allocations: 1.719 kB / 1.069 GB, free: 16.21 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.82e-05/1.191, allocations: 25.69 kB / 1.069 GB, free: 16.21 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.082e-05/1.191, allocations: 14.22 kB / 1.069 GB, free: 16.21 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001236/1.193, allocations: 0.5507 MB / 1.07 GB, free: 16.21 MB / 0.7136 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.005606/1.198, allocations: 4.606 MB / 1.074 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008336/1.199, allocations: 432.3 kB / 1.075 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004359/1.199, allocations: 249.7 kB / 1.075 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003218/1.2, allocations: 195.2 kB / 1.075 GB, free: 12.52 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005043/1.2, allocations: 298.2 kB / 1.075 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=31): time 3.146e-06/1.2, allocations: 0 / 1.075 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=31): time 0.001551/1.202, allocations: 0.6481 MB / 1.076 GB, free: 12.36 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.357e-05/1.202, allocations: 88.97 kB / 1.076 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001897/1.204, allocations: 1.122 MB / 1.077 GB, free: 12.11 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001042/1.204, allocations: 34.92 kB / 1.077 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004939/1.204, allocations: 493.9 kB / 1.078 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/1.205, allocations: 109.6 kB / 1.078 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.884e-05/1.205, allocations: 9.656 kB / 1.078 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001349/1.205, allocations: 325.7 kB / 1.078 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004587/1.205, allocations: 214.5 kB / 1.078 GB, free: 11.53 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007154/1.206, allocations: 0.5222 MB / 1.079 GB, free: 11.18 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/1.207, allocations: 0.6508 MB / 1.08 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/1.207, allocations: 1 kB / 1.08 GB, free: 10.94 MB / 0.7136 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001532/1.209, allocations: 0.7367 MB / 1.08 GB, free: 10.81 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002117/1.209, allocations: 283.7 kB / 1.081 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.654e-05/1.209, allocations: 4.281 kB / 1.081 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.547e-05/1.209, allocations: 7.562 kB / 1.081 GB, free: 10.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004851/1.209, allocations: 117.2 kB / 1.081 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.064e-05/1.209, allocations: 8.656 kB / 1.081 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/1.21, allocations: 105.3 kB / 1.081 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.917e-05/1.211, allocations: 28.78 kB / 1.081 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/1.211, allocations: 2 kB / 1.081 GB, free: 10.46 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001026/1.212, allocations: 0.5374 MB / 1.081 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/1.212, allocations: 5.062 kB / 1.081 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.084e-05/1.212, allocations: 8.906 kB / 1.081 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003754/1.212, allocations: 112.8 kB / 1.081 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.574e-05/1.212, allocations: 11.7 kB / 1.081 GB, free: 10.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/1.213, allocations: 105 kB / 1.082 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/1.213, allocations: 23.48 kB / 1.082 GB, free: 10.39 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008288/1.214, allocations: 468.3 kB / 1.082 GB, free: 10.2 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002767/1.214, allocations: 99.75 kB / 1.082 GB, free: 10.15 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001087/1.215, allocations: 0.4971 MB / 1.083 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/1.215, allocations: 2.312 kB / 1.083 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/1.215, allocations: 5.094 kB / 1.083 GB, free: 10.09 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/1.215, allocations: 8.141 kB / 1.083 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00289/1.218, allocations: 1.393 MB / 1.084 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/1.218, allocations: 2.312 kB / 1.084 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002676/1.219, allocations: 70.5 kB / 1.084 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.145e-06/1.219, allocations: 2.688 kB / 1.084 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.505e-05/1.219, allocations: 8.938 kB / 1.084 GB, free: 9.641 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/1.219, allocations: 6.906 kB / 1.084 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.219, allocations: 2.656 kB / 1.084 GB, free: 9.637 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009152/1.22, allocations: 0.6185 MB / 1.085 GB, free: 9.379 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004788/1.22, allocations: 220.7 kB / 1.085 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002129/1.22, allocations: 7.531 kB / 1.085 GB, free: 9.23 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006223/1.221, allocations: 59.67 kB / 1.085 GB, free: 9.223 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.658e-05/1.221, allocations: 36.98 kB / 1.085 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.854e-05/1.221, allocations: 11 kB / 1.085 GB, free: 9.215 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001097/1.222, allocations: 0.7928 MB / 1.086 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.41e-07/1.222, allocations: 0 / 1.086 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001584/1.224, allocations: 416.3 kB / 1.086 GB, free: 9.07 MB / 0.7136 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001495/1.225, allocations: 1.229 MB / 1.087 GB, free: 8.281 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.001441/1.227, allocations: 0.8339 MB / 1.088 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.989e-06/1.227, allocations: 3.281 kB / 1.088 GB, free: 8.148 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003331/1.227, allocations: 211 kB / 1.088 GB, free: 8.145 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002525/1.23, allocations: 462.2 kB / 1.089 GB, free: 8.094 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01575/1.246, allocations: 8.825 MB / 1.097 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007701/1.246, allocations: 1.187 MB / 1.099 GB, free: 4.078 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.001247/1.248, allocations: 425.9 kB / 1.099 GB, free: 4.023 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004732/1.248, allocations: 317.3 kB / 1.099 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of SimCode: time 1.573e-06/1.248, allocations: 0 / 1.099 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0547/1.303, allocations: 24.98 MB / 1.124 GB, free: 11.63 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002777/1.303, allocations: 278.2 kB / 1.124 GB, free: 11.27 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.949/4.252, allocations: 2.344 kB / 1.124 GB, free: 11.27 MB / 0.7292 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)