Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlow.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.ParallelFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelFlow",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.001359/0.001359, allocations: 95.33 kB / 15.68 MB, free: 488 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.004132/0.004133, allocations: 175.2 kB / 16.57 MB, free: 6.391 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.343/2.343, allocations: 223.2 MB / 240.5 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.434/1.434, allocations: 113.7 MB / 405.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006967/0.0006972, allocations: 11.98 kB / 493 MB, free: 8.602 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3097, allocations: 77.1 MB / 0.5567 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlow): time 1.046/1.356, allocations: 135.7 MB / 0.6892 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.004728/1.36, allocations: 1.682 MB / 0.6909 GB, free: 0.6758 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006606/1.361, allocations: 11.88 kB / 0.6909 GB, free: 0.6641 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001208/1.362, allocations: 175.2 kB / 0.691 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003173/1.366, allocations: 0.5025 MB / 0.6915 GB, free: 15.99 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00215/1.368, allocations: 408.8 kB / 0.6919 GB, free: 15.6 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003174/1.371, allocations: 1.505 MB / 0.6934 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004196/1.375, allocations: 2.188 MB / 0.6955 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002186/1.377, allocations: 0.6929 MB / 0.6962 GB, free: 11.19 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001039/1.378, allocations: 493.8 kB / 0.6967 GB, free: 10.71 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001199/1.379, allocations: 32 kB / 0.6967 GB, free: 10.68 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001648/1.38, allocations: 419.4 kB / 0.6971 GB, free: 10.27 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003869/1.381, allocations: 255.1 kB / 0.6974 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005255/1.381, allocations: 233.1 kB / 0.6976 GB, free: 9.781 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001633/1.383, allocations: 0.979 MB / 0.6985 GB, free: 8.809 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 8.737e-06/1.383, allocations: 4 kB / 0.6985 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of FrontEnd: time 7.054e-06/1.383, allocations: 3.984 kB / 0.6985 GB, free: 8.801 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.149e-05/1.383, allocations: 3.938 kB / 0.6985 GB, free: 8.797 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.00339/1.386, allocations: 1.308 MB / 0.6998 GB, free: 7.43 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.936e-05/1.386, allocations: 16.03 kB / 0.6998 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001832/1.387, allocations: 94.52 kB / 0.6999 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001299/1.388, allocations: 178.5 kB / 0.7001 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002537/1.39, allocations: 0.8001 MB / 0.7009 GB, free: 6.281 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.325e-05/1.391, allocations: 45 kB / 0.7009 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001605/1.391, allocations: 60 kB / 0.701 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002083/1.393, allocations: 0.8238 MB / 0.7018 GB, free: 5.281 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.056e-05/1.393, allocations: 11.89 kB / 0.7018 GB, free: 5.27 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.708e-05/1.393, allocations: 20 kB / 0.7018 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.052e-05/1.393, allocations: 16 kB / 0.7018 GB, free: 5.234 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001606/1.395, allocations: 0.5734 MB / 0.7024 GB, free: 4.66 MB / 0.5137 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.007477/1.402, allocations: 4.263 MB / 0.7066 GB, free: 132 kB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00134/1.403, allocations: 462.3 kB / 0.707 GB, free: 15.67 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 9.774e-05/1.404, allocations: 8 kB / 0.707 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008747/1.404, allocations: 327.9 kB / 0.7073 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006409/1.405, allocations: 27.69 kB / 0.7073 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=33): time 3.617e-06/1.405, allocations: 4 kB / 0.7073 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of matching and sorting (n=33): time 0.008256/1.413, allocations: 1.576 MB / 0.7089 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001233/1.414, allocations: 114.7 kB / 0.709 GB, free: 13.55 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002797/1.416, allocations: 1.147 MB / 0.7101 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001247/1.417, allocations: 33.7 kB / 0.7101 GB, free: 12.34 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000714/1.417, allocations: 488.4 kB / 0.7106 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001966/1.418, allocations: 114.4 kB / 0.7107 GB, free: 11.75 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.517e-05/1.418, allocations: 12 kB / 0.7107 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001854/1.418, allocations: 326.1 kB / 0.711 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006497/1.418, allocations: 208.9 kB / 0.7112 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001015/1.419, allocations: 0.5189 MB / 0.7117 GB, free: 10.56 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008069/1.42, allocations: 305.6 kB / 0.712 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.064e-05/1.42, allocations: 4 kB / 0.712 GB, free: 10.25 MB / 0.5294 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00396/1.424, allocations: 1.054 MB / 0.7131 GB, free: 9.18 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.00125/1.426, allocations: 2.137 MB / 0.7152 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-05/1.426, allocations: 8 kB / 0.7152 GB, free: 6.871 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002267/1.428, allocations: 399.2 kB / 0.7155 GB, free: 6.48 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006433/1.429, allocations: 103.8 kB / 0.7156 GB, free: 6.379 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002464/1.431, allocations: 1.116 MB / 0.7167 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001844/1.433, allocations: 87.75 kB / 0.7168 GB, free: 5.152 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/1.433, allocations: 27.98 kB / 0.7168 GB, free: 5.125 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/1.433, allocations: 4 kB / 0.7168 GB, free: 5.121 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002464/1.436, allocations: 0.7921 MB / 0.7176 GB, free: 4.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.434e-05/1.436, allocations: 4.625 kB / 0.7176 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009884/1.437, allocations: 240.6 kB / 0.7179 GB, free: 4.078 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005804/1.437, allocations: 95.88 kB / 0.7179 GB, free: 3.984 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006407/1.444, allocations: 3.133 MB / 0.721 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00192/1.446, allocations: 95.77 kB / 0.7211 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-05/1.446, allocations: 24.19 kB / 0.7211 GB, free: 0.6016 MB / 0.5294 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 {10 11} Notification: Performance of prepare postOptimizeDAE: time 0.001134/1.447, allocations: 468.7 kB / 0.7216 GB, free: 136 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003082/1.447, allocations: 102.7 kB / 0.7217 GB, free: 32 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002268/1.449, allocations: 0.7527 MB / 0.7224 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.408e-05/1.449, allocations: 7.953 kB / 0.7224 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/1.449, allocations: 4 kB / 0.7224 GB, free: 15.26 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.468e-05/1.45, allocations: 4 kB / 0.7224 GB, free: 15.25 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002858/1.452, allocations: 1.154 MB / 0.7235 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.005e-06/1.452, allocations: 0 / 0.7235 GB, free: 14.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004305/1.453, allocations: 64.16 kB / 0.7236 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008934/1.454, allocations: 280.1 kB / 0.7239 GB, free: 13.69 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.269e-05/1.454, allocations: 8 kB / 0.7239 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001759/1.456, allocations: 1.051 MB / 0.7249 GB, free: 12.6 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/1.456, allocations: 4.031 kB / 0.7249 GB, free: 12.6 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002462/1.458, allocations: 0.9085 MB / 0.7258 GB, free: 11.61 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008237/1.459, allocations: 227.8 kB / 0.726 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001855/1.459, allocations: 8 kB / 0.726 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/1.46, allocations: 67.77 kB / 0.7261 GB, free: 11.29 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001684/1.46, allocations: 31.89 kB / 0.7261 GB, free: 11.26 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.842e-05/1.46, allocations: 12 kB / 0.7261 GB, free: 11.25 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002058/1.463, allocations: 0.8119 MB / 0.7269 GB, free: 10.43 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.81e-07/1.463, allocations: 0 / 0.7269 GB, free: 10.43 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002632/1.465, allocations: 475.5 kB / 0.7274 GB, free: 9.965 MB / 0.545 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 {10 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.004022/1.469, allocations: 1.929 MB / 0.7293 GB, free: 7.961 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.004729/1.474, allocations: 1.256 MB / 0.7305 GB, free: 6.672 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.445e-06/1.474, allocations: 0 / 0.7305 GB, free: 6.672 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001225/1.475, allocations: 316.2 kB / 0.7308 GB, free: 6.363 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005839/1.481, allocations: 0.6201 MB / 0.7314 GB, free: 5.758 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02919/1.51, allocations: 10.22 MB / 0.7414 GB, free: 11.2 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001591/1.512, allocations: 1.205 MB / 0.7426 GB, free: 9.965 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002165/1.514, allocations: 344.1 kB / 0.7429 GB, free: 9.625 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007866/1.515, allocations: 323.3 kB / 0.7432 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of SimCode: time 6.984e-06/1.515, allocations: 0 / 0.7432 GB, free: 9.309 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1011/1.616, allocations: 30.36 MB / 0.7728 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005346/1.617, allocations: 267.7 kB / 0.7731 GB, free: 11.01 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.234/5.851, allocations: 0 / 0.7731 GB, free: 11.01 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelFlow_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_ParallelFlow.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.ParallelFlow.pipe 2>&1) Environment - environmentSimulation: