Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised",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.00111/0.00111, allocations: 93.27 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 176.1 kB / 16.91 MB, free: 6.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 223.3 MB / 241 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6439/0.6439, allocations: 115.5 MB / 407.6 MB, free: 2.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002953/0.0002954, allocations: 15.98 kB / 496 MB, free: 6.254 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.145, allocations: 77.54 MB / 0.5601 GB, free: 8.922 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised): time 0.4367/0.5817, allocations: 157.3 MB / 0.7136 GB, free: 9.363 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.00406/0.5859, allocations: 1.756 MB / 0.7154 GB, free: 7.605 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00032/0.5862, allocations: 11.88 kB / 0.7154 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005288/0.5867, allocations: 139.2 kB / 0.7155 GB, free: 7.457 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001237/0.588, allocations: 0.4903 MB / 0.716 GB, free: 6.965 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009759/0.589, allocations: 351.2 kB / 0.7163 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003187/0.5922, allocations: 3.499 MB / 0.7197 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002551/0.5947, allocations: 2.204 MB / 0.7219 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00182/0.5966, allocations: 0.8947 MB / 0.7228 GB, free: 4 kB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009321/0.5975, allocations: 0.7272 MB / 0.7235 GB, free: 15.27 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 7.874e-05/0.5976, allocations: 32 kB / 0.7235 GB, free: 15.24 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001428/0.599, allocations: 0.8029 MB / 0.7243 GB, free: 14.44 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003118/0.5994, allocations: 286.8 kB / 0.7246 GB, free: 14.16 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0005531/0.5999, allocations: 0.5184 MB / 0.7251 GB, free: 13.63 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001264/0.6012, allocations: 1.382 MB / 0.7264 GB, free: 12.24 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.925e-06/0.6012, allocations: 0 / 0.7264 GB, free: 12.24 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.326e-06/0.6012, allocations: 0 / 0.7264 GB, free: 12.24 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.156e-05/0.6013, allocations: 7.938 kB / 0.7264 GB, free: 12.23 MB / 0.545 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.001964/0.6032, allocations: 1.296 MB / 0.7277 GB, free: 10.88 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.6033, allocations: 8.031 kB / 0.7277 GB, free: 10.87 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001057/0.6034, allocations: 94.52 kB / 0.7278 GB, free: 10.77 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006822/0.6041, allocations: 186.5 kB / 0.728 GB, free: 10.59 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.6051, allocations: 0.806 MB / 0.7287 GB, free: 9.723 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.753e-05/0.6052, allocations: 41 kB / 0.7288 GB, free: 9.68 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.82e-05/0.6053, allocations: 63.98 kB / 0.7288 GB, free: 9.617 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.6064, allocations: 0.8277 MB / 0.7297 GB, free: 8.719 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.662e-05/0.6064, allocations: 7.938 kB / 0.7297 GB, free: 8.711 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.005e-05/0.6065, allocations: 24 kB / 0.7297 GB, free: 8.688 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.528e-05/0.6065, allocations: 16 kB / 0.7297 GB, free: 8.672 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009227/0.6074, allocations: 0.5735 MB / 0.7303 GB, free: 8.094 MB / 0.545 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.003459/0.6109, allocations: 4.251 MB / 0.7344 GB, free: 3.578 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007145/0.6116, allocations: 456.3 kB / 0.7348 GB, free: 3.125 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005674/0.6122, allocations: 356.2 kB / 0.7352 GB, free: 2.777 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000285/0.6125, allocations: 194.2 kB / 0.7354 GB, free: 2.551 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004962/0.613, allocations: 327.1 kB / 0.7357 GB, free: 2.211 MB / 0.545 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001962/0.6132, allocations: 27.69 kB / 0.7357 GB, free: 2.184 MB / 0.545 GB Notification: Performance of pre-optimization done (n=33): time 1.743e-06/0.6132, allocations: 0 / 0.7357 GB, free: 2.184 MB / 0.545 GB Notification: Performance of matching and sorting (n=33): time 0.004885/0.6181, allocations: 1.701 MB / 0.7374 GB, free: 464 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.6182, allocations: 81.11 kB / 0.7374 GB, free: 364 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001335/0.6195, allocations: 1.151 MB / 0.7386 GB, free: 15.19 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.67e-05/0.6196, allocations: 33.7 kB / 0.7386 GB, free: 15.15 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003913/0.62, allocations: 488.6 kB / 0.7391 GB, free: 14.67 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 9.814e-05/0.6201, allocations: 114.3 kB / 0.7392 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.751e-05/0.6201, allocations: 53.69 kB / 0.7392 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001087/0.6203, allocations: 326 kB / 0.7395 GB, free: 14.17 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004058/0.6207, allocations: 236.9 kB / 0.7398 GB, free: 13.94 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006471/0.6213, allocations: 0.5423 MB / 0.7403 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000929/0.6223, allocations: 0.6879 MB / 0.741 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/0.6223, allocations: 4 kB / 0.741 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.002188/0.6245, allocations: 1.12 MB / 0.7421 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.00016/0.6247, allocations: 270.7 kB / 0.7423 GB, free: 11.01 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.148e-05/0.6247, allocations: 8 kB / 0.7423 GB, free: 11 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001291/0.626, allocations: 380.3 kB / 0.7427 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003782/0.6264, allocations: 95.86 kB / 0.7428 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001033/0.6274, allocations: 1.054 MB / 0.7438 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000834/0.6282, allocations: 75.92 kB / 0.7439 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.957e-05/0.6283, allocations: 27.98 kB / 0.7439 GB, free: 9.355 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.918e-06/0.6283, allocations: 4 kB / 0.7439 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001411/0.6298, allocations: 0.787 MB / 0.7447 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.6298, allocations: 4 kB / 0.7447 GB, free: 8.551 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005553/0.6303, allocations: 245.2 kB / 0.7449 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003507/0.6307, allocations: 95.81 kB / 0.745 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003557/0.6343, allocations: 3.036 MB / 0.748 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009638/0.6352, allocations: 75.89 kB / 0.7481 GB, free: 4.969 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.215e-05/0.6353, allocations: 24 kB / 0.7481 GB, free: 4.945 MB / 0.5606 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 (pulse_m_flow.count,$PRE.pulse_m_flow.count,pulse_m_flow.T_start,$PRE.pulse_m_flow.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,20)} Notification: Performance of prepare postOptimizeDAE: time 0.0005723/0.6359, allocations: 472.7 kB / 0.7485 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/0.636, allocations: 102.8 kB / 0.7486 GB, free: 4.371 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00141/0.6374, allocations: 0.7889 MB / 0.7494 GB, free: 3.574 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.6375, allocations: 4 kB / 0.7494 GB, free: 3.57 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.6375, allocations: 4 kB / 0.7494 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.6375, allocations: 3.984 kB / 0.7494 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002544/0.64, allocations: 1.73 MB / 0.7511 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.459e-06/0.64, allocations: 224 / 0.7511 GB, free: 1.754 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002568/0.6403, allocations: 63.89 kB / 0.7512 GB, free: 1.691 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005114/0.6408, allocations: 252.5 kB / 0.7514 GB, free: 1.441 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.531e-05/0.6409, allocations: 8 kB / 0.7514 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009134/0.6418, allocations: 1.014 MB / 0.7524 GB, free: 404 kB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.524e-06/0.6418, allocations: 0 / 0.7524 GB, free: 404 kB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001369/0.6432, allocations: 0.9013 MB / 0.7533 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003837/0.6436, allocations: 227.8 kB / 0.7535 GB, free: 15.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001035/0.6437, allocations: 12 kB / 0.7535 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006271/0.6443, allocations: 55.84 kB / 0.7536 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.6444, allocations: 39.83 kB / 0.7536 GB, free: 15.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.474e-05/0.6445, allocations: 12 kB / 0.7536 GB, free: 15.09 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001059/0.6455, allocations: 0.8158 MB / 0.7544 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6455, allocations: 0 / 0.7544 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001428/0.647, allocations: 467.4 kB / 0.7548 GB, free: 13.81 MB / 0.5762 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,20)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001925/0.6489, allocations: 1.432 MB / 0.7562 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002281/0.6512, allocations: 1.15 MB / 0.7574 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.6512, allocations: 0 / 0.7574 GB, free: 11.15 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0005664/0.6518, allocations: 262.1 kB / 0.7576 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00365/0.6555, allocations: 0.6298 MB / 0.7582 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01677/0.6722, allocations: 9.895 MB / 0.7679 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007444/0.673, allocations: 1.185 MB / 0.7691 GB, free: 14.72 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001119/0.6742, allocations: 320.4 kB / 0.7694 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004031/0.6746, allocations: 319.3 kB / 0.7697 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of SimCode: time 9.12e-07/0.6746, allocations: 0 / 0.7697 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2983/0.9729, allocations: 30.2 MB / 0.7992 GB, free: 380 kB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002702/0.9732, allocations: 306.9 kB / 0.7995 GB, free: 15.99 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.454/3.427, allocations: 2.188 kB / 0.7995 GB, free: 15.99 MB / 0.6231 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelFlowOptimised.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlowOptimised.pipe 2>&1)