Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.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.SeriesParallelFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow",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.001167/0.001167, allocations: 96.11 kB / 15.69 MB, free: 480 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.002369/0.002369, allocations: 175.5 kB / 16.57 MB, free: 6.398 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.726/2.726, allocations: 223.2 MB / 240.5 MB, free: 5.465 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.387/1.387, allocations: 113.7 MB / 405.3 MB, free: 4.707 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000523/0.000523, allocations: 9.125 kB / 493 MB, free: 8.613 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2823, allocations: 77.11 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow): time 0.9739/1.256, allocations: 140.5 MB / 0.6939 GB, free: 13.71 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.007474/1.264, allocations: 2.159 MB / 0.696 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009222/1.265, allocations: 11.88 kB / 0.696 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001375/1.266, allocations: 235 kB / 0.6962 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003815/1.27, allocations: 0.6933 MB / 0.6969 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002576/1.273, allocations: 455.1 kB / 0.6973 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003941/1.277, allocations: 1.635 MB / 0.6989 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005351/1.282, allocations: 2.313 MB / 0.7012 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003379/1.285, allocations: 0.8526 MB / 0.702 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001757/1.287, allocations: 0.6031 MB / 0.7026 GB, free: 4.75 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002145/1.287, allocations: 48 kB / 0.7027 GB, free: 4.703 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002841/1.29, allocations: 0.6279 MB / 0.7033 GB, free: 4.074 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0007037/1.291, allocations: 299.1 kB / 0.7036 GB, free: 3.781 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007797/1.292, allocations: 249.1 kB / 0.7038 GB, free: 3.531 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002585/1.294, allocations: 1.166 MB / 0.7049 GB, free: 2.371 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/1.295, allocations: 3.938 kB / 0.705 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.749e-06/1.295, allocations: 0 / 0.705 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.331e-05/1.295, allocations: 0 / 0.705 GB, free: 2.367 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.004978/1.3, allocations: 1.519 MB / 0.7064 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 7.561e-05/1.3, allocations: 16.02 kB / 0.7064 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002645/1.3, allocations: 94.52 kB / 0.7065 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00173/1.302, allocations: 194.4 kB / 0.7067 GB, free: 492 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00316/1.305, allocations: 0.8678 MB / 0.7076 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.164e-05/1.305, allocations: 53.27 kB / 0.7076 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001984/1.305, allocations: 67.98 kB / 0.7077 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002565/1.308, allocations: 0.9947 MB / 0.7087 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.441e-05/1.308, allocations: 0 / 0.7087 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001175/1.308, allocations: 24 kB / 0.7087 GB, free: 14.35 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.706e-05/1.308, allocations: 12 kB / 0.7087 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002347/1.31, allocations: 0.8077 MB / 0.7095 GB, free: 13.53 MB / 0.5294 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.008445/1.319, allocations: 4.82 MB / 0.7142 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004069/1.323, allocations: 4.029 MB / 0.7181 GB, free: 3.508 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001194/1.323, allocations: 16.25 kB / 0.7181 GB, free: 3.492 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009179/1.324, allocations: 330.2 kB / 0.7185 GB, free: 3.148 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007377/1.325, allocations: 31.67 kB / 0.7185 GB, free: 3.117 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=35): time 4.168e-06/1.325, allocations: 3.938 kB / 0.7185 GB, free: 3.113 MB / 0.5294 GB Notification: Performance of matching and sorting (n=35): time 0.008004/1.333, allocations: 1.491 MB / 0.7199 GB, free: 1.594 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001227/1.333, allocations: 110.8 kB / 0.7201 GB, free: 1.461 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002904/1.336, allocations: 1.18 MB / 0.7212 GB, free: 268 kB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.00013/1.336, allocations: 41.64 kB / 0.7212 GB, free: 220 kB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008198/1.337, allocations: 0.5122 MB / 0.7217 GB, free: 15.7 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002002/1.337, allocations: 126.1 kB / 0.7219 GB, free: 15.57 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.626e-05/1.337, allocations: 12 kB / 0.7219 GB, free: 15.56 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0002151/1.337, allocations: 325.9 kB / 0.7222 GB, free: 15.24 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00072/1.338, allocations: 205 kB / 0.7224 GB, free: 15.04 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001189/1.339, allocations: 0.5332 MB / 0.7229 GB, free: 14.37 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008875/1.34, allocations: 317.3 kB / 0.7232 GB, free: 14.05 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.516e-06/1.34, allocations: 4 kB / 0.7232 GB, free: 14.05 MB / 0.545 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.004237/1.345, allocations: 1.025 MB / 0.7242 GB, free: 13 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.001655/1.346, allocations: 2.146 MB / 0.7263 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.498e-05/1.346, allocations: 12 kB / 0.7263 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002438/1.349, allocations: 378.9 kB / 0.7267 GB, free: 10.32 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009356/1.35, allocations: 123.8 kB / 0.7268 GB, free: 10.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003147/1.353, allocations: 1.678 MB / 0.7284 GB, free: 8.469 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002106/1.355, allocations: 95.83 kB / 0.7285 GB, free: 8.375 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001066/1.355, allocations: 31.98 kB / 0.7286 GB, free: 8.344 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/1.355, allocations: 9.25 kB / 0.7286 GB, free: 8.336 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002598/1.358, allocations: 0.779 MB / 0.7293 GB, free: 7.547 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.625e-05/1.358, allocations: 8 kB / 0.7293 GB, free: 7.539 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008983/1.359, allocations: 218.5 kB / 0.7295 GB, free: 7.324 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006669/1.359, allocations: 104 kB / 0.7296 GB, free: 7.223 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007191/1.367, allocations: 3.013 MB / 0.7326 GB, free: 4.074 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002044/1.369, allocations: 99.75 kB / 0.7327 GB, free: 3.977 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.742e-05/1.369, allocations: 27.92 kB / 0.7327 GB, free: 3.949 MB / 0.545 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 (38): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {10 10} Notification: Performance of prepare postOptimizeDAE: time 0.001174/1.37, allocations: 480.7 kB / 0.7332 GB, free: 3.469 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000357/1.37, allocations: 106.7 kB / 0.7333 GB, free: 3.363 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002493/1.373, allocations: 0.7601 MB / 0.734 GB, free: 2.594 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/1.373, allocations: 4 kB / 0.734 GB, free: 2.59 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/1.373, allocations: 3.953 kB / 0.734 GB, free: 2.586 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.531e-05/1.373, allocations: 7.984 kB / 0.734 GB, free: 2.578 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 postOpt removeSimpleEquations (simulation): time 0.005317/1.378, allocations: 2.205 MB / 0.7362 GB, free: 236 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.238e-05/1.378, allocations: 4 kB / 0.7362 GB, free: 232 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006437/1.379, allocations: 88.08 kB / 0.7363 GB, free: 144 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007714/1.38, allocations: 203.4 kB / 0.7365 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.215e-05/1.38, allocations: 8 kB / 0.7365 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001858/1.382, allocations: 1.47 MB / 0.7379 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.438e-06/1.382, allocations: 0 / 0.7379 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0025/1.384, allocations: 0.9488 MB / 0.7388 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008626/1.385, allocations: 235.6 kB / 0.7391 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002077/1.385, allocations: 8 kB / 0.7391 GB, free: 13.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001262/1.387, allocations: 75.75 kB / 0.7391 GB, free: 13.06 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/1.387, allocations: 39.84 kB / 0.7392 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.149e-05/1.387, allocations: 16 kB / 0.7392 GB, free: 13 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002041/1.389, allocations: 0.8288 MB / 0.74 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.61e-07/1.389, allocations: 0 / 0.74 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002794/1.392, allocations: 0.4994 MB / 0.7405 GB, free: 11.67 MB / 0.5606 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 (25): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {9 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.003301/1.395, allocations: 1.985 MB / 0.7424 GB, free: 9.621 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005041/1.4, allocations: 1.28 MB / 0.7437 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/1.4, allocations: 0 / 0.7437 GB, free: 8.305 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001302/1.402, allocations: 320.1 kB / 0.744 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006215/1.408, allocations: 0.6479 MB / 0.7446 GB, free: 7.355 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02767/1.435, allocations: 10.44 MB / 0.7548 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001523/1.437, allocations: 1.232 MB / 0.756 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.002303/1.439, allocations: 360.4 kB / 0.7564 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008534/1.44, allocations: 363.3 kB / 0.7567 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of SimCode: time 1.333e-06/1.44, allocations: 0 / 0.7567 GB, free: 10.59 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1193/1.56, allocations: 31.1 MB / 0.7871 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004172/1.56, allocations: 276.1 kB / 0.7873 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.724/6.285, allocations: 0 / 0.7873 GB, free: 11.57 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesParallelFlow.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlow.pipe 2>&1) Environment - environmentSimulation: