Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.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.SeriesDpOptimised,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised",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.001488/0.001488, allocations: 97.28 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.002667/0.002667, allocations: 175.1 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.638/2.638, allocations: 223.2 MB / 240.5 MB, free: 5.367 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 1.238/1.238, allocations: 113.7 MB / 405.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005464/0.0005464, allocations: 8 kB / 493 MB, free: 8.625 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2855/0.2861, allocations: 77.12 MB / 0.5567 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised): time 0.9119/1.198, allocations: 135.7 MB / 0.6892 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009094/1.207, allocations: 3.116 MB / 0.6923 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008681/1.208, allocations: 7.938 kB / 0.6923 GB, free: 15.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.001664/1.21, allocations: 183.2 kB / 0.6924 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.003513/1.214, allocations: 0.5024 MB / 0.6929 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.002707/1.216, allocations: 449.3 kB / 0.6934 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.003704/1.22, allocations: 1.497 MB / 0.6948 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002043/1.222, allocations: 0.7144 MB / 0.6955 GB, free: 12.05 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002663/1.225, allocations: 0.7046 MB / 0.6962 GB, free: 11.34 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00155/1.226, allocations: 489.9 kB / 0.6967 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000188/1.227, allocations: 36 kB / 0.6967 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002201/1.229, allocations: 411.4 kB / 0.6971 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005114/1.229, allocations: 263.1 kB / 0.6974 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0006951/1.23, allocations: 229.1 kB / 0.6976 GB, free: 9.934 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001936/1.232, allocations: 0.9673 MB / 0.6985 GB, free: 8.973 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/1.232, allocations: 3.938 kB / 0.6985 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.134e-06/1.232, allocations: 0 / 0.6985 GB, free: 8.969 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.796e-05/1.232, allocations: 0 / 0.6985 GB, free: 8.969 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: 125 * Number of variables: 125 Notification: Performance of Generate backend data structure: time 0.003768/1.236, allocations: 1.288 MB / 0.6998 GB, free: 7.621 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.938e-05/1.236, allocations: 12.03 kB / 0.6998 GB, free: 7.609 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000237/1.236, allocations: 94.52 kB / 0.6999 GB, free: 7.508 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001391/1.238, allocations: 178.5 kB / 0.7001 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002654/1.24, allocations: 0.8002 MB / 0.7008 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.627e-05/1.24, allocations: 45 kB / 0.7009 GB, free: 6.434 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001484/1.24, allocations: 56 kB / 0.7009 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00204/1.243, allocations: 0.7964 MB / 0.7017 GB, free: 5.508 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.733e-05/1.243, allocations: 4 kB / 0.7017 GB, free: 5.504 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.949e-05/1.243, allocations: 20 kB / 0.7017 GB, free: 5.484 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.668e-05/1.243, allocations: 16 kB / 0.7018 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001474/1.244, allocations: 0.5383 MB / 0.7023 GB, free: 4.93 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.008398/1.253, allocations: 4.599 MB / 0.7068 GB, free: 15.95 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/1.254, allocations: 446.3 kB / 0.7072 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001012/1.254, allocations: 19.97 kB / 0.7072 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009196/1.255, allocations: 306.2 kB / 0.7075 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 3.236e-06/1.255, allocations: 0 / 0.7075 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31): time 0.007017/1.262, allocations: 1.328 MB / 0.7088 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001168/1.262, allocations: 110.8 kB / 0.7089 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002781/1.265, allocations: 1.118 MB / 0.71 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001642/1.265, allocations: 41.7 kB / 0.71 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006891/1.266, allocations: 492.2 kB / 0.7105 GB, free: 12 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001927/1.266, allocations: 102.5 kB / 0.7106 GB, free: 11.9 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.154e-05/1.266, allocations: 12 kB / 0.7106 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001713/1.266, allocations: 329.9 kB / 0.7109 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006209/1.267, allocations: 188.7 kB / 0.7111 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009392/1.268, allocations: 0.4901 MB / 0.7116 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007132/1.269, allocations: 296.2 kB / 0.7119 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.684e-06/1.269, allocations: 0 / 0.7119 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.003622/1.272, allocations: 0.9915 MB / 0.7128 GB, free: 9.449 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.001296/1.274, allocations: 2.133 MB / 0.7149 GB, free: 7.148 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.06e-05/1.274, allocations: 4 kB / 0.7149 GB, free: 7.145 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001944/1.276, allocations: 336.5 kB / 0.7152 GB, free: 6.812 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003968/1.276, allocations: 67.83 kB / 0.7153 GB, free: 6.746 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001688/1.278, allocations: 1.014 MB / 0.7163 GB, free: 5.707 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/1.279, allocations: 107.4 kB / 0.7164 GB, free: 5.602 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.838e-05/1.28, allocations: 28.09 kB / 0.7164 GB, free: 5.574 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/1.28, allocations: 7.938 kB / 0.7164 GB, free: 5.566 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002203/1.282, allocations: 0.7315 MB / 0.7172 GB, free: 4.828 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/1.282, allocations: 7.938 kB / 0.7172 GB, free: 4.82 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008432/1.283, allocations: 221.2 kB / 0.7174 GB, free: 4.602 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003559/1.283, allocations: 59.91 kB / 0.7174 GB, free: 4.543 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006237/1.289, allocations: 3.179 MB / 0.7205 GB, free: 1.211 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001563/1.291, allocations: 95.59 kB / 0.7206 GB, free: 1.113 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/1.291, allocations: 27.98 kB / 0.7207 GB, free: 1.086 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 (34): * Single equations (assignments): 32 * 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 {1 19} Notification: Performance of prepare postOptimizeDAE: time 0.001143/1.292, allocations: 470 kB / 0.7211 GB, free: 0.6172 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003454/1.292, allocations: 102.7 kB / 0.7212 GB, free: 0.5156 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002196/1.295, allocations: 0.698 MB / 0.7219 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/1.295, allocations: 4 kB / 0.7219 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/1.295, allocations: 4 kB / 0.7219 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/1.295, allocations: 0 / 0.7219 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002959/1.298, allocations: 1.099 MB / 0.723 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.757e-06/1.298, allocations: 0 / 0.723 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001989/1.298, allocations: 23.98 kB / 0.723 GB, free: 14.6 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008617/1.299, allocations: 232.9 kB / 0.7232 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.16e-05/1.299, allocations: 8 kB / 0.7232 GB, free: 14.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001664/1.301, allocations: 0.9742 MB / 0.7242 GB, free: 13.36 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.898e-06/1.301, allocations: 11.91 kB / 0.7242 GB, free: 13.35 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002513/1.303, allocations: 0.8598 MB / 0.725 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008952/1.304, allocations: 219.8 kB / 0.7252 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001955/1.304, allocations: 11.98 kB / 0.7252 GB, free: 12.17 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00092/1.305, allocations: 59.75 kB / 0.7253 GB, free: 12.11 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001981/1.305, allocations: 35.89 kB / 0.7253 GB, free: 12.07 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.335e-05/1.306, allocations: 16 kB / 0.7253 GB, free: 12.06 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002189/1.308, allocations: 0.7877 MB / 0.7261 GB, free: 11.26 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.11e-07/1.308, allocations: 0 / 0.7261 GB, free: 11.26 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002888/1.311, allocations: 435.5 kB / 0.7265 GB, free: 10.84 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 (12): * Single equations (assignments): 9 * 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 {1 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.003497/1.314, allocations: 1.862 MB / 0.7283 GB, free: 8.902 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003214/1.317, allocations: 1.063 MB / 0.7294 GB, free: 7.801 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/1.317, allocations: 0 / 0.7294 GB, free: 7.801 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008197/1.318, allocations: 231.1 kB / 0.7296 GB, free: 7.578 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003336/1.322, allocations: 454.9 kB / 0.73 GB, free: 7.141 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02596/1.348, allocations: 9.882 MB / 0.7397 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001726/1.349, allocations: 1.208 MB / 0.7409 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002115/1.352, allocations: 319.6 kB / 0.7412 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006969/1.352, allocations: 308.8 kB / 0.7415 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of SimCode: time 1.513e-06/1.352, allocations: 0 / 0.7415 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08754/1.44, allocations: 27.97 MB / 0.7688 GB, free: 15.54 MB / 0.5919 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004063/1.44, allocations: 274.2 kB / 0.769 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.63/6.07, allocations: 3.938 kB / 0.7691 GB, free: 15.18 MB / 0.5919 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesDpOptimised.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesDpOptimised.pipe 2>&1) Environment - environmentSimulation: