Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.conf.json 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/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 91.77 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001302/0.001302, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.351/1.351, allocations: 205.4 MB / 222.1 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.66/1.66, allocations: 292.7 MB / 0.5499 GB, free: 14.57 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004942/0.0004943, allocations: 13.97 kB / 0.6738 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2333/0.2338, allocations: 116.3 MB / 0.7874 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.6001/0.8339, allocations: 146.7 MB / 0.9307 GB, free: 5.652 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003533/0.8375, allocations: 1.642 MB / 0.9323 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000478/0.838, allocations: 8.094 kB / 0.9323 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006662/0.8387, allocations: 119.8 kB / 0.9324 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001387/0.8401, allocations: 384.7 kB / 0.9328 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001224/0.8413, allocations: 341.4 kB / 0.9331 GB, free: 5.555 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.003511/0.8448, allocations: 2.979 MB / 0.936 GB, free: 5.547 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001091/0.8459, allocations: 0.6889 MB / 0.9367 GB, free: 5.438 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00176/0.8477, allocations: 0.8671 MB / 0.9376 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001117/0.8488, allocations: 0.7047 MB / 0.9382 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001109/0.8489, allocations: 33.38 kB / 0.9383 GB, free: 5.391 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001626/0.8506, allocations: 0.5568 MB / 0.9388 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0003868/0.851, allocations: 275.3 kB / 0.9391 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0007201/0.8517, allocations: 230.2 kB / 0.9393 GB, free: 21.24 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001548/0.8533, allocations: 1.029 MB / 0.9403 GB, free: 21.13 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.8533, allocations: 0 / 0.9403 GB, free: 21.13 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.525e-06/0.8533, allocations: 0 / 0.9403 GB, free: 21.13 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.325e-05/0.8533, allocations: 0 / 0.9403 GB, free: 21.13 MB / 0.7325 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.002498/0.8558, allocations: 1.305 MB / 0.9416 GB, free: 20.32 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 7.57e-05/0.8559, allocations: 9.438 kB / 0.9416 GB, free: 20.32 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001598/0.8561, allocations: 94.14 kB / 0.9417 GB, free: 20.29 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001021/0.8571, allocations: 187.5 kB / 0.9419 GB, free: 20.22 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002095/0.8592, allocations: 0.7964 MB / 0.9426 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/0.8593, allocations: 45.06 kB / 0.9427 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001837/0.8595, allocations: 61.62 kB / 0.9427 GB, free: 19.88 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001559/0.8611, allocations: 0.7913 MB / 0.9435 GB, free: 19.63 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/0.8611, allocations: 5.281 kB / 0.9435 GB, free: 19.63 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.629e-05/0.8612, allocations: 24.33 kB / 0.9435 GB, free: 19.63 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.518e-05/0.8612, allocations: 13.72 kB / 0.9435 GB, free: 19.63 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.8623, allocations: 0.547 MB / 0.9441 GB, free: 19.61 MB / 0.7325 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.004743/0.867, allocations: 4.598 MB / 0.9486 GB, free: 16.12 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008236/0.8679, allocations: 427.3 kB / 0.949 GB, free: 16.09 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004419/0.8683, allocations: 250.4 kB / 0.9492 GB, free: 16.08 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003627/0.8687, allocations: 204.3 kB / 0.9494 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005721/0.8693, allocations: 288.9 kB / 0.9497 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=31): time 5.28e-06/0.8693, allocations: 8.891 kB / 0.9497 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of matching and sorting (n=31): time 0.001577/0.8709, allocations: 0.6475 MB / 0.9503 GB, free: 15.71 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.675e-05/0.871, allocations: 89.77 kB / 0.9504 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001652/0.8726, allocations: 1.115 MB / 0.9515 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.439e-05/0.8727, allocations: 37.8 kB / 0.9515 GB, free: 15.43 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.00041/0.8731, allocations: 493.5 kB / 0.952 GB, free: 15.25 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 9.128e-05/0.8732, allocations: 109.8 kB / 0.9521 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.452e-05/0.8733, allocations: 10.47 kB / 0.9521 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001367/0.8734, allocations: 323.7 kB / 0.9524 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003549/0.8738, allocations: 190.2 kB / 0.9526 GB, free: 14.87 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005594/0.8743, allocations: 0.4968 MB / 0.9531 GB, free: 14.52 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004771/0.8748, allocations: 292.4 kB / 0.9534 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.802e-06/0.8748, allocations: 6.75 kB / 0.9534 GB, free: 14.46 MB / 0.7325 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001172/0.876, allocations: 0.6736 MB / 0.954 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001687/0.8762, allocations: 283.6 kB / 0.9543 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.8762, allocations: 5.062 kB / 0.9543 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.784e-05/0.8762, allocations: 8.312 kB / 0.9543 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004677/0.8767, allocations: 118.2 kB / 0.9544 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.282e-05/0.8767, allocations: 8.219 kB / 0.9544 GB, free: 13.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009057/0.8777, allocations: 104.5 kB / 0.9545 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.496e-05/0.8777, allocations: 27.16 kB / 0.9546 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 9.087e-06/0.8778, allocations: 7.328 kB / 0.9546 GB, free: 13.94 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009436/0.8787, allocations: 0.5363 MB / 0.9551 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.348e-06/0.8787, allocations: 8.062 kB / 0.9551 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.8787, allocations: 7.531 kB / 0.9551 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003674/0.8791, allocations: 110 kB / 0.9552 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.396e-05/0.8791, allocations: 11.59 kB / 0.9552 GB, free: 13.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006701/0.8798, allocations: 105.1 kB / 0.9553 GB, free: 13.82 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.012e-05/0.8799, allocations: 20 kB / 0.9554 GB, free: 13.82 MB / 0.7325 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.0006983/0.8806, allocations: 470 kB / 0.9558 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/0.8807, allocations: 97.31 kB / 0.9559 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009974/0.8817, allocations: 0.4992 MB / 0.9564 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.686e-06/0.8818, allocations: 3.781 kB / 0.9564 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/0.8818, allocations: 1.062 kB / 0.9564 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.8818, allocations: 6.438 kB / 0.9564 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002337/0.8841, allocations: 1.392 MB / 0.9578 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.751e-06/0.8842, allocations: 3.578 kB / 0.9578 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002529/0.8844, allocations: 72.55 kB / 0.9578 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.977e-06/0.8844, allocations: 4.5 kB / 0.9578 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.228e-05/0.8845, allocations: 7.125 kB / 0.9578 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.8845, allocations: 2.969 kB / 0.9578 GB, free: 13.04 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.8845, allocations: 12.55 kB / 0.9579 GB, free: 13.03 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008253/0.8853, allocations: 0.6077 MB / 0.9584 GB, free: 12.78 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000383/0.8857, allocations: 223.9 kB / 0.9587 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001138/0.8858, allocations: 15.41 kB / 0.9587 GB, free: 12.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004711/0.8863, allocations: 51.64 kB / 0.9587 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.251e-05/0.8864, allocations: 37.59 kB / 0.9588 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/0.8864, allocations: 12 kB / 0.9588 GB, free: 12.61 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001167/0.8876, allocations: 0.784 MB / 0.9595 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8876, allocations: 0 / 0.9595 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001409/0.889, allocations: 405.7 kB / 0.9599 GB, free: 12.47 MB / 0.7325 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.001427/0.8905, allocations: 1.234 MB / 0.9611 GB, free: 11.67 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001325/0.8918, allocations: 0.7951 MB / 0.9619 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.226e-06/0.8918, allocations: 0 / 0.9619 GB, free: 11.5 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0003321/0.8922, allocations: 204.3 kB / 0.9621 GB, free: 11.49 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001971/0.8941, allocations: 470.9 kB / 0.9625 GB, free: 11.44 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01128/0.9054, allocations: 6.24 MB / 0.9686 GB, free: 9.445 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009228/0.9064, allocations: 1.178 MB / 0.9698 GB, free: 8.73 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001406/0.9078, allocations: 418.4 kB / 0.9702 GB, free: 8.582 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004318/0.9083, allocations: 328.7 kB / 0.9705 GB, free: 8.543 MB / 0.7325 GB Notification: Performance of SimCode: time 1.273e-06/0.9083, allocations: 0 / 0.9705 GB, free: 8.543 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.051/0.9593, allocations: 25.55 MB / 0.9955 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002009/0.9595, allocations: 241.8 kB / 0.9957 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.435/3.395, allocations: 5.531 kB / 0.9957 GB, free: 12.18 MB / 0.7481 GB (rm -f Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.fmu > Buildings_8_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) Environment - environmentSimulation: