Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.553/2.553, allocations: 287.3 MB / 302.3 MB, free: 8.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00152/0.001519, allocations: 183 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.083/2.083, allocations: 205.4 MB / 0.6295 GB, free: 10.58 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00111/0.00111, allocations: 104.9 kB / 0.7428 GB, free: 6.586 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004865/0.0004866, allocations: 12.88 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2027/0.2033, allocations: 115.3 MB / 0.9783 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.9337/1.137, allocations: 135.7 MB / 1.111 GB, free: 1.336 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.004292/1.141, allocations: 1.667 MB / 1.112 GB, free: 1.191 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005702/1.142, allocations: 12.72 kB / 1.112 GB, free: 1.184 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009468/1.143, allocations: 179.5 kB / 1.113 GB, free: 1.156 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002491/1.145, allocations: 498.8 kB / 1.113 GB, free: 1.129 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002212/1.148, allocations: 412.6 kB / 1.113 GB, free: 1.113 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.003509/1.151, allocations: 1.513 MB / 1.115 GB, free: 1.051 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005045/1.156, allocations: 2.185 MB / 1.117 GB, free: 0.8047 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002467/1.159, allocations: 0.6949 MB / 1.118 GB, free: 0.6797 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001457/1.16, allocations: 492.3 kB / 1.118 GB, free: 0.5703 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0002328/1.161, allocations: 33.38 kB / 1.118 GB, free: 0.5703 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002144/1.163, allocations: 415.8 kB / 1.119 GB, free: 0.5586 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0006447/1.163, allocations: 259 kB / 1.119 GB, free: 0.5195 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0005848/1.164, allocations: 233.5 kB / 1.119 GB, free: 464 kB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.003474/1.168, allocations: 0.9918 MB / 1.12 GB, free: 360 kB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 5.079e-06/1.168, allocations: 2.625 kB / 1.12 GB, free: 360 kB / 0.6823 GB Notification: Performance of FrontEnd: time 3.917e-06/1.168, allocations: 0 / 1.12 GB, free: 360 kB / 0.6823 GB Notification: Performance of Transformations before backend: time 4.217e-05/1.168, allocations: 0 / 1.12 GB, free: 360 kB / 0.6823 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.004154/1.172, allocations: 1.313 MB / 1.121 GB, free: 15.56 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.281e-05/1.172, allocations: 10.25 kB / 1.121 GB, free: 15.56 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003434/1.172, allocations: 94.97 kB / 1.122 GB, free: 15.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001304/1.174, allocations: 187.5 kB / 1.122 GB, free: 15.46 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002891/1.177, allocations: 0.8015 MB / 1.122 GB, free: 15.12 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.96e-05/1.177, allocations: 42.78 kB / 1.123 GB, free: 15.12 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001728/1.177, allocations: 61.34 kB / 1.123 GB, free: 15.12 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002283/1.179, allocations: 0.8215 MB / 1.123 GB, free: 14.87 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.272e-05/1.179, allocations: 0.9688 kB / 1.123 GB, free: 14.87 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.958e-05/1.179, allocations: 26.16 kB / 1.123 GB, free: 14.86 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.36e-05/1.179, allocations: 13 kB / 1.123 GB, free: 14.86 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001905/1.181, allocations: 0.57 MB / 1.124 GB, free: 14.84 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.007656/1.189, allocations: 4.256 MB / 1.128 GB, free: 11.94 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001428/1.191, allocations: 463.8 kB / 1.129 GB, free: 11.9 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001113/1.191, allocations: 18.75 kB / 1.129 GB, free: 11.9 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009154/1.192, allocations: 327.5 kB / 1.129 GB, free: 11.82 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006296/1.192, allocations: 34.56 kB / 1.129 GB, free: 11.8 MB / 0.698 GB Notification: Performance of pre-optimization done (n=33): time 3.426e-06/1.192, allocations: 2.688 kB / 1.129 GB, free: 11.8 MB / 0.698 GB Notification: Performance of matching and sorting (n=33): time 0.009495/1.202, allocations: 1.666 MB / 1.131 GB, free: 11.54 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.231e-05/1.202, allocations: 111.6 kB / 1.131 GB, free: 11.41 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002728/1.205, allocations: 1.147 MB / 1.132 GB, free: 11.06 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001697/1.205, allocations: 36.3 kB / 1.132 GB, free: 11.03 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006806/1.206, allocations: 488.5 kB / 1.132 GB, free: 10.82 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002173/1.206, allocations: 115.3 kB / 1.132 GB, free: 10.74 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.355e-05/1.206, allocations: 12.88 kB / 1.132 GB, free: 10.74 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001586/1.206, allocations: 326.5 kB / 1.133 GB, free: 10.43 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007262/1.207, allocations: 208.5 kB / 1.133 GB, free: 10.38 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001085/1.208, allocations: 0.5175 MB / 1.133 GB, free: 9.961 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009328/1.209, allocations: 326.4 kB / 1.134 GB, free: 9.852 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.498e-06/1.209, allocations: 6.406 kB / 1.134 GB, free: 9.848 MB / 0.698 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.004257/1.213, allocations: 1.037 MB / 1.135 GB, free: 9.465 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001169/1.214, allocations: 2.137 MB / 1.137 GB, free: 7.219 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.74e-05/1.215, allocations: 9.281 kB / 1.137 GB, free: 7.215 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002531/1.217, allocations: 348.6 kB / 1.137 GB, free: 7.102 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007734/1.218, allocations: 100.8 kB / 1.137 GB, free: 7.074 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001965/1.22, allocations: 1.046 MB / 1.138 GB, free: 6.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002007/1.222, allocations: 92.78 kB / 1.138 GB, free: 6.391 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001724/1.222, allocations: 27.14 kB / 1.138 GB, free: 6.387 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.003e-05/1.222, allocations: 8.047 kB / 1.138 GB, free: 6.383 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002673/1.225, allocations: 0.7856 MB / 1.139 GB, free: 6.148 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.746e-05/1.225, allocations: 5.469 kB / 1.139 GB, free: 6.148 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001188/1.226, allocations: 254.8 kB / 1.139 GB, free: 6.074 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007112/1.227, allocations: 92.41 kB / 1.14 GB, free: 6.055 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00683/1.234, allocations: 3.102 MB / 1.143 GB, free: 4.266 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001876/1.236, allocations: 92.11 kB / 1.143 GB, free: 4.23 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/1.236, allocations: 23.61 kB / 1.143 GB, free: 4.227 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_m_flow.T_start,pulse_m_flow.T_start,$PRE.pulse_m_flow.count,pulse_m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 33 * 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 {1 20} Notification: Performance of prepare postOptimizeDAE: time 0.001083/1.237, allocations: 471.8 kB / 1.143 GB, free: 3.957 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004156/1.237, allocations: 100.4 kB / 1.143 GB, free: 3.906 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002514/1.24, allocations: 0.772 MB / 1.144 GB, free: 3.645 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.608e-05/1.24, allocations: 3.625 kB / 1.144 GB, free: 3.645 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.322e-06/1.24, allocations: 1.281 kB / 1.144 GB, free: 3.645 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.489e-05/1.24, allocations: 5.234 kB / 1.144 GB, free: 3.641 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003255/1.243, allocations: 1.166 MB / 1.145 GB, free: 2.973 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.084e-05/1.243, allocations: 6.469 kB / 1.145 GB, free: 2.969 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000521/1.244, allocations: 60.02 kB / 1.145 GB, free: 2.949 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001085/1.245, allocations: 240.5 kB / 1.145 GB, free: 2.875 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.932e-05/1.245, allocations: 12.36 kB / 1.145 GB, free: 2.875 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001798/1.247, allocations: 1.009 MB / 1.146 GB, free: 2.242 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.077e-05/1.247, allocations: 6.25 kB / 1.146 GB, free: 2.238 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002867/1.25, allocations: 0.9147 MB / 1.147 GB, free: 1.766 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009019/1.251, allocations: 228.1 kB / 1.148 GB, free: 1.598 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002368/1.251, allocations: 13.77 kB / 1.148 GB, free: 1.594 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001228/1.252, allocations: 66.95 kB / 1.148 GB, free: 1.562 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001707/1.253, allocations: 32.64 kB / 1.148 GB, free: 1.547 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.683e-05/1.253, allocations: 13.38 kB / 1.148 GB, free: 1.547 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002097/1.255, allocations: 0.8109 MB / 1.148 GB, free: 1.277 MB / 0.698 GB Notification: Performance of sort global known variables: time 9.22e-07/1.255, allocations: 0 / 1.148 GB, free: 1.277 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002489/1.257, allocations: 473.6 kB / 1.149 GB, free: 1.25 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 10 * 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 {1 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.003351/1.261, allocations: 1.91 MB / 1.151 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003876/1.265, allocations: 1.144 MB / 1.152 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 7.665e-06/1.265, allocations: 0 / 1.152 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001039/1.266, allocations: 250.8 kB / 1.152 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006256/1.272, allocations: 0.6343 MB / 1.153 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02523/1.297, allocations: 10.11 MB / 1.163 GB, free: 8.492 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001164/1.298, allocations: 1.207 MB / 1.164 GB, free: 7.59 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.002096/1.301, allocations: 343.8 kB / 1.164 GB, free: 7.434 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008731/1.302, allocations: 325.8 kB / 1.164 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of SimCode: time 1.863e-06/1.302, allocations: 0 / 1.164 GB, free: 7.398 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1306/1.432, allocations: 30.68 MB / 1.194 GB, free: 292 kB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0006617/1.433, allocations: 278.4 kB / 1.195 GB, free: 15.93 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.976/5.409, allocations: 0 / 1.195 GB, free: 15.93 MB / 0.7448 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.fmu > Buildings_8.0.0_Buildings.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)