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.001769/0.001768, allocations: 97.2 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.006553/0.006553, allocations: 173.6 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.504/2.504, allocations: 223.2 MB / 240.5 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.143/1.143, allocations: 113.7 MB / 405.3 MB, free: 4.691 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007482/0.0007486, allocations: 8.594 kB / 493 MB, free: 8.582 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3838/0.3846, allocations: 77.12 MB / 0.5567 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlow): time 1.143/1.527, allocations: 135.7 MB / 0.6892 GB, free: 2.453 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.006337/1.534, allocations: 1.676 MB / 0.6909 GB, free: 0.7734 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009808/1.535, allocations: 11.88 kB / 0.6909 GB, free: 0.7617 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001222/1.536, allocations: 175.2 kB / 0.691 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00285/1.539, allocations: 0.5063 MB / 0.6915 GB, free: 84 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002572/1.542, allocations: 400.9 kB / 0.6919 GB, free: 15.7 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00354/1.545, allocations: 1.493 MB / 0.6934 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002078/1.547, allocations: 0.7018 MB / 0.6941 GB, free: 13.49 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002938/1.55, allocations: 0.6929 MB / 0.6947 GB, free: 12.79 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001601/1.552, allocations: 493.8 kB / 0.6952 GB, free: 12.31 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001534/1.552, allocations: 36 kB / 0.6952 GB, free: 12.27 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002419/1.555, allocations: 411.4 kB / 0.6956 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006507/1.555, allocations: 267.1 kB / 0.6959 GB, free: 11.61 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0007937/1.556, allocations: 233.1 kB / 0.6961 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.00254/1.559, allocations: 0.9673 MB / 0.6971 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.044e-05/1.559, allocations: 0 / 0.6971 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of FrontEnd: time 5.119e-06/1.559, allocations: 7.938 kB / 0.6971 GB, free: 10.41 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.117e-05/1.559, allocations: 0 / 0.6971 GB, free: 10.41 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.005021/1.564, allocations: 1.281 MB / 0.6983 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 9.462e-05/1.564, allocations: 8.031 kB / 0.6983 GB, free: 9.059 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003333/1.564, allocations: 94.52 kB / 0.6984 GB, free: 8.957 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001721/1.566, allocations: 182.5 kB / 0.6986 GB, free: 8.777 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003501/1.57, allocations: 0.7963 MB / 0.6994 GB, free: 7.926 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.824e-05/1.57, allocations: 41 kB / 0.6994 GB, free: 7.887 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002177/1.57, allocations: 60 kB / 0.6995 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002749/1.573, allocations: 0.7964 MB / 0.7002 GB, free: 6.957 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.496e-05/1.573, allocations: 3.953 kB / 0.7002 GB, free: 6.953 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001103/1.573, allocations: 20 kB / 0.7003 GB, free: 6.934 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.495e-05/1.573, allocations: 15.94 kB / 0.7003 GB, free: 6.918 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002237/1.575, allocations: 0.5462 MB / 0.7008 GB, free: 6.371 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.01173/1.587, allocations: 4.606 MB / 0.7053 GB, free: 1.379 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001868/1.589, allocations: 439.5 kB / 0.7057 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001388/1.589, allocations: 15.97 kB / 0.7057 GB, free: 0.9297 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00117/1.59, allocations: 302.2 kB / 0.706 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=31): time 4.849e-06/1.59, allocations: 0 / 0.706 GB, free: 0.6133 MB / 0.5137 GB Notification: Performance of matching and sorting (n=31): time 0.003203/1.593, allocations: 0.642 MB / 0.7067 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002089/1.594, allocations: 110.8 kB / 0.7068 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003658/1.597, allocations: 1.118 MB / 0.7079 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001314/1.598, allocations: 33.7 kB / 0.7079 GB, free: 14.65 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001097/1.599, allocations: 492.1 kB / 0.7084 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002905/1.599, allocations: 114.3 kB / 0.7085 GB, free: 14.05 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.561e-05/1.599, allocations: 12.22 kB / 0.7085 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0003926/1.599, allocations: 318 kB / 0.7088 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009234/1.6, allocations: 196.7 kB / 0.709 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0015/1.602, allocations: 0.4919 MB / 0.7095 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001112/1.603, allocations: 296.1 kB / 0.7097 GB, free: 12.62 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/1.603, allocations: 4 kB / 0.7097 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.002933/1.606, allocations: 0.6875 MB / 0.7104 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.002059/1.608, allocations: 2.129 MB / 0.7125 GB, free: 9.617 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.63e-05/1.608, allocations: 4 kB / 0.7125 GB, free: 9.613 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.491e-05/1.608, allocations: 8 kB / 0.7125 GB, free: 9.605 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004091/1.612, allocations: 385.8 kB / 0.7129 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008667/1.621, allocations: 6.095 MB / 0.7188 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002704/1.624, allocations: 95.66 kB / 0.7189 GB, free: 2.809 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003087/1.624, allocations: 27.98 kB / 0.7189 GB, free: 2.781 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 6.316e-05/1.624, allocations: 4 kB / 0.7189 GB, free: 2.777 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002834/1.627, allocations: 0.544 MB / 0.7195 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.505e-05/1.627, allocations: 4 kB / 0.7195 GB, free: 2.223 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.144e-05/1.627, allocations: 8 kB / 0.7195 GB, free: 2.215 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/1.629, allocations: 164.2 kB / 0.7196 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.185e-05/1.629, allocations: 11.98 kB / 0.7197 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002157/1.631, allocations: 103.4 kB / 0.7198 GB, free: 1.941 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001271/1.631, allocations: 24 kB / 0.7198 GB, free: 1.918 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_p.T_start,pulse_p.T_start,$PRE.pulse_p.count,pulse_p.count) * 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 (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001844/1.633, allocations: 468.7 kB / 0.7202 GB, free: 1.449 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006806/1.634, allocations: 98.78 kB / 0.7203 GB, free: 1.352 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002253/1.636, allocations: 486.4 kB / 0.7208 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.577e-05/1.636, allocations: 4 kB / 0.7208 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.345e-05/1.636, allocations: 0 / 0.7208 GB, free: 0.8594 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.015e-05/1.636, allocations: 11.94 kB / 0.7208 GB, free: 0.8477 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00413/1.64, allocations: 1.095 MB / 0.7219 GB, free: 15.67 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-05/1.64, allocations: 11.98 kB / 0.7219 GB, free: 15.66 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001189/1.641, allocations: 143.8 kB / 0.722 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-05/1.641, allocations: 4 kB / 0.722 GB, free: 15.52 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-05/1.641, allocations: 11.98 kB / 0.722 GB, free: 15.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006014/1.647, allocations: 6.017 MB / 0.7279 GB, free: 9.254 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.584e-05/1.648, allocations: 3.984 kB / 0.7279 GB, free: 9.25 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002305/1.65, allocations: 0.6371 MB / 0.7285 GB, free: 8.535 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007847/1.651, allocations: 215.8 kB / 0.7287 GB, free: 8.305 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001696/1.651, allocations: 11.98 kB / 0.7287 GB, free: 8.293 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007087/1.652, allocations: 55.83 kB / 0.7288 GB, free: 8.238 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/1.652, allocations: 35.91 kB / 0.7288 GB, free: 8.203 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.829e-05/1.652, allocations: 12 kB / 0.7288 GB, free: 8.191 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001771/1.654, allocations: 0.7836 MB / 0.7296 GB, free: 7.398 MB / 0.545 GB Notification: Performance of sort global known variables: time 4.11e-07/1.654, allocations: 3.938 kB / 0.7296 GB, free: 7.395 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001629/1.655, allocations: 415.4 kB / 0.73 GB, free: 6.988 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_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 (linear and non-linear blocks): 10 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 10 {1,1,1,1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002867/1.658, allocations: 1.737 MB / 0.7317 GB, free: 5.195 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006112/1.664, allocations: 1.097 MB / 0.7328 GB, free: 4.074 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.366e-05/1.664, allocations: 0 / 0.7328 GB, free: 4.074 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00146/1.666, allocations: 296.1 kB / 0.7331 GB, free: 3.785 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003833/1.67, allocations: 456.6 kB / 0.7335 GB, free: 3.348 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02414/1.694, allocations: 9.617 MB / 0.7429 GB, free: 9.414 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001776/1.696, allocations: 1.204 MB / 0.7441 GB, free: 8.18 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001543/1.697, allocations: 371.5 kB / 0.7444 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005196/1.698, allocations: 313.5 kB / 0.7447 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of SimCode: time 1.894e-06/1.698, allocations: 0 / 0.7447 GB, free: 7.508 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1029/1.801, allocations: 26.35 MB / 0.7705 GB, free: 13.54 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004556/1.801, allocations: 261.7 kB / 0.7707 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.584/6.386, allocations: 0 / 0.7707 GB, free: 13.19 MB / 0.5919 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/linux/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) Environment - environmentSimulation: