Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.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.SeriesFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlow",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.0007713/0.0007713, allocations: 93.73 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.000888/0.000888, allocations: 181.1 kB / 16.92 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.365/1.365, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6994/0.6994, allocations: 115.5 MB / 407.6 MB, free: 2.672 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003136/0.0003136, allocations: 12.23 kB / 496 MB, free: 6.238 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.134/0.1343, allocations: 77.53 MB / 0.5601 GB, free: 8.91 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 0.3805/0.5148, allocations: 157.3 MB / 0.7136 GB, free: 9.32 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.002794/0.5177, allocations: 1.755 MB / 0.7153 GB, free: 7.562 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000284/0.518, allocations: 11.88 kB / 0.7154 GB, free: 7.551 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0004775/0.5184, allocations: 135.2 kB / 0.7155 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001316/0.5198, allocations: 498 kB / 0.716 GB, free: 6.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00101/0.5208, allocations: 356.8 kB / 0.7163 GB, free: 6.586 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003393/0.5242, allocations: 3.474 MB / 0.7197 GB, free: 3.105 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001268/0.5255, allocations: 0.743 MB / 0.7204 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001875/0.5274, allocations: 0.8986 MB / 0.7213 GB, free: 1.457 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001051/0.5284, allocations: 0.7194 MB / 0.722 GB, free: 0.7305 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001096/0.5286, allocations: 32 kB / 0.722 GB, free: 0.6992 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001316/0.5299, allocations: 0.799 MB / 0.7228 GB, free: 15.9 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003065/0.5302, allocations: 286.9 kB / 0.7231 GB, free: 15.62 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006399/0.5308, allocations: 0.53 MB / 0.7236 GB, free: 15.08 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001472/0.5323, allocations: 1.359 MB / 0.7249 GB, free: 13.71 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.5323, allocations: 0 / 0.7249 GB, free: 13.71 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.705e-06/0.5323, allocations: 0 / 0.7249 GB, free: 13.71 MB / 0.545 GB Notification: Performance of Transformations before backend: time 2.721e-05/0.5324, allocations: 3.938 kB / 0.7249 GB, free: 13.71 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.00203/0.5344, allocations: 1.269 MB / 0.7262 GB, free: 12.38 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.655e-05/0.5345, allocations: 8.031 kB / 0.7262 GB, free: 12.38 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001269/0.5346, allocations: 94.52 kB / 0.7263 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007635/0.5354, allocations: 182.5 kB / 0.7264 GB, free: 12.09 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/0.5365, allocations: 0.8177 MB / 0.7272 GB, free: 11.22 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.873e-05/0.5366, allocations: 41 kB / 0.7273 GB, free: 11.18 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.1e-05/0.5367, allocations: 60 kB / 0.7273 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001159/0.5378, allocations: 0.7965 MB / 0.7281 GB, free: 10.25 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.811e-05/0.5379, allocations: 11.88 kB / 0.7281 GB, free: 10.24 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.829e-05/0.5379, allocations: 20 kB / 0.7281 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.035e-05/0.5379, allocations: 16 kB / 0.7282 GB, free: 10.2 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009221/0.5389, allocations: 0.55 MB / 0.7287 GB, free: 9.648 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.003784/0.5427, allocations: 4.591 MB / 0.7332 GB, free: 4.672 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007006/0.5434, allocations: 422.3 kB / 0.7336 GB, free: 4.25 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000389/0.5438, allocations: 254.7 kB / 0.7338 GB, free: 4 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002698/0.5441, allocations: 202.1 kB / 0.734 GB, free: 3.766 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004703/0.5445, allocations: 297.1 kB / 0.7343 GB, free: 3.457 MB / 0.545 GB Notification: Performance of pre-optimization done (n=31): time 1.754e-06/0.5446, allocations: 0 / 0.7343 GB, free: 3.457 MB / 0.545 GB Notification: Performance of matching and sorting (n=31): time 0.00131/0.5459, allocations: 0.6523 MB / 0.7349 GB, free: 2.801 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.053e-05/0.5459, allocations: 81.11 kB / 0.735 GB, free: 2.703 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00132/0.5473, allocations: 1.114 MB / 0.7361 GB, free: 1.57 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 4.543e-05/0.5473, allocations: 33.7 kB / 0.7361 GB, free: 1.531 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003797/0.5477, allocations: 0.4884 MB / 0.7366 GB, free: 1.035 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 8.24e-05/0.5478, allocations: 110.5 kB / 0.7367 GB, free: 0.9258 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.413e-05/0.5479, allocations: 37.7 kB / 0.7368 GB, free: 0.8828 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 9.922e-05/0.548, allocations: 333.9 kB / 0.7371 GB, free: 0.5508 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003703/0.5483, allocations: 208.9 kB / 0.7373 GB, free: 356 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005883/0.5489, allocations: 0.5253 MB / 0.7378 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008749/0.5498, allocations: 0.6593 MB / 0.7384 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.947e-06/0.5498, allocations: 0 / 0.7384 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001137/0.551, allocations: 0.7239 MB / 0.7391 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001522/0.5512, allocations: 271.2 kB / 0.7394 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.098e-05/0.5512, allocations: 7.984 kB / 0.7394 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.5512, allocations: 11.94 kB / 0.7394 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001768/0.553, allocations: 360.2 kB / 0.7398 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003007/0.556, allocations: 6.087 MB / 0.7457 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006614/0.5567, allocations: 95.56 kB / 0.7458 GB, free: 7.078 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.868e-05/0.5567, allocations: 31.98 kB / 0.7458 GB, free: 7.047 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 9.007e-06/0.5567, allocations: 4 kB / 0.7458 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008819/0.5576, allocations: 0.5403 MB / 0.7464 GB, free: 6.496 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.144e-06/0.5576, allocations: 4 kB / 0.7464 GB, free: 6.492 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.021e-05/0.5577, allocations: 8 kB / 0.7464 GB, free: 6.484 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005171/0.5582, allocations: 156.4 kB / 0.7465 GB, free: 6.332 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.5582, allocations: 11.94 kB / 0.7465 GB, free: 6.32 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006096/0.5588, allocations: 95.55 kB / 0.7466 GB, free: 6.227 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.65e-05/0.5589, allocations: 20 kB / 0.7466 GB, free: 6.207 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_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (53): * Single equations (assignments): 42 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004335/0.5593, allocations: 473.2 kB / 0.7471 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001077/0.5594, allocations: 102.8 kB / 0.7472 GB, free: 5.637 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008572/0.5603, allocations: 0.4989 MB / 0.7477 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.39e-06/0.5603, allocations: 4 kB / 0.7477 GB, free: 5.129 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.5603, allocations: 4 kB / 0.7477 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.5603, allocations: 3.984 kB / 0.7477 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001841/0.5622, allocations: 1.395 MB / 0.749 GB, free: 3.648 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.5622, allocations: 7.984 kB / 0.7491 GB, free: 3.641 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005791/0.5628, allocations: 143.8 kB / 0.7492 GB, free: 3.5 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/0.5628, allocations: 4.219 kB / 0.7492 GB, free: 3.496 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.5628, allocations: 12 kB / 0.7492 GB, free: 3.484 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002603/0.5654, allocations: 6.028 MB / 0.7551 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.5654, allocations: 0 / 0.7551 GB, free: 13.22 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007938/0.5662, allocations: 0.618 MB / 0.7557 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002643/0.5665, allocations: 215.8 kB / 0.7559 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001084/0.5666, allocations: 8 kB / 0.7559 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004664/0.5671, allocations: 51.8 kB / 0.756 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.921e-05/0.5672, allocations: 31.91 kB / 0.756 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.249e-05/0.5672, allocations: 15.92 kB / 0.756 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009094/0.5681, allocations: 0.7914 MB / 0.7568 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5681, allocations: 0 / 0.7568 GB, free: 11.43 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001021/0.5692, allocations: 411.4 kB / 0.7572 GB, free: 11.03 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_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): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 10 systems {1, 1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001307/0.5705, allocations: 1.223 MB / 0.7584 GB, free: 9.766 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002908/0.5734, allocations: 1.118 MB / 0.7595 GB, free: 8.625 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.5734, allocations: 4 kB / 0.7595 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000788/0.5742, allocations: 302.6 kB / 0.7597 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002216/0.5764, allocations: 451.6 kB / 0.7602 GB, free: 7.895 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01269/0.5891, allocations: 8.878 MB / 0.7688 GB, free: 14.61 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006826/0.5898, allocations: 1.177 MB / 0.77 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0009791/0.5908, allocations: 383.7 kB / 0.7704 GB, free: 13.02 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003656/0.5912, allocations: 311.3 kB / 0.7707 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of SimCode: time 4.7e-07/0.5912, allocations: 0 / 0.7707 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3875/0.9787, allocations: 25.81 MB / 0.7959 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002226/0.979, allocations: 276.4 kB / 0.7961 GB, free: 2.891 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.479/3.458, allocations: 0 / 0.7961 GB, free: 2.891 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlow.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow.pipe 2>&1)