Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.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.SeriesFlowOptimised,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised",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.0007142/0.0007142, allocations: 92.62 kB / 15.7 MB, free: 472 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.0007316/0.0007317, allocations: 172.8 kB / 16.58 MB, free: 5.656 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.174/1.174, allocations: 223.2 MB / 240.6 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6006/0.6006, allocations: 113.7 MB / 405.4 MB, free: 4.609 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002748/0.0002748, allocations: 16.22 kB / 493.2 MB, free: 8.59 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1178/0.1181, allocations: 77.11 MB / 0.5569 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.3556/0.4738, allocations: 146.7 MB / 0.7002 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.002369/0.4762, allocations: 1.657 MB / 0.7018 GB, free: 6.539 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001689/0.4764, allocations: 7.938 kB / 0.7018 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0003709/0.4767, allocations: 119.2 kB / 0.7019 GB, free: 6.414 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0008483/0.4776, allocations: 382.2 kB / 0.7023 GB, free: 6.039 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007827/0.4784, allocations: 342.3 kB / 0.7026 GB, free: 5.711 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.002579/0.481, allocations: 2.979 MB / 0.7055 GB, free: 2.723 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007637/0.4818, allocations: 0.6864 MB / 0.7062 GB, free: 2.023 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001134/0.4829, allocations: 0.8597 MB / 0.707 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007047/0.4836, allocations: 0.7118 MB / 0.7077 GB, free: 456 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 6.881e-05/0.4837, allocations: 36 kB / 0.7078 GB, free: 420 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009481/0.4846, allocations: 0.5497 MB / 0.7083 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002374/0.4849, allocations: 278.9 kB / 0.7086 GB, free: 15.59 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0002195/0.4851, allocations: 237.1 kB / 0.7088 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0009097/0.486, allocations: 1.013 MB / 0.7098 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.486, allocations: 4 kB / 0.7098 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.403e-06/0.4861, allocations: 0 / 0.7098 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.147e-06/0.4861, allocations: 4 kB / 0.7098 GB, free: 14.32 MB / 0.5294 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.001703/0.4878, allocations: 1.308 MB / 0.7111 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.4878, allocations: 8.031 kB / 0.7111 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.327e-05/0.4879, allocations: 94.52 kB / 0.7112 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006143/0.4885, allocations: 186.5 kB / 0.7113 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.4897, allocations: 0.7884 MB / 0.7121 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.482e-05/0.4897, allocations: 49 kB / 0.7122 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.329e-05/0.4898, allocations: 59.98 kB / 0.7122 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001018/0.4908, allocations: 0.8042 MB / 0.713 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.396e-05/0.4909, allocations: 3.953 kB / 0.713 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.564e-05/0.4909, allocations: 24 kB / 0.713 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.187e-05/0.4909, allocations: 12 kB / 0.713 GB, free: 10.8 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008126/0.4917, allocations: 0.5423 MB / 0.7136 GB, free: 10.25 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.003279/0.495, allocations: 4.614 MB / 0.7181 GB, free: 5.254 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006248/0.4957, allocations: 424.7 kB / 0.7185 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003428/0.496, allocations: 254.8 kB / 0.7187 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002461/0.4963, allocations: 198.2 kB / 0.7189 GB, free: 4.352 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004275/0.4967, allocations: 301 kB / 0.7192 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 1.714e-06/0.4967, allocations: 0 / 0.7192 GB, free: 4.039 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31): time 0.001128/0.4979, allocations: 0.6404 MB / 0.7198 GB, free: 3.395 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.291e-05/0.4979, allocations: 89.09 kB / 0.7199 GB, free: 3.289 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001144/0.4991, allocations: 1.11 MB / 0.721 GB, free: 2.16 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.726e-05/0.4991, allocations: 37.7 kB / 0.721 GB, free: 2.117 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000367/0.4995, allocations: 488.2 kB / 0.7215 GB, free: 1.633 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 7.564e-05/0.4996, allocations: 110.5 kB / 0.7216 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.208e-05/0.4996, allocations: 12 kB / 0.7216 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.4997, allocations: 325.9 kB / 0.7219 GB, free: 1.188 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000295/0.5, allocations: 188.7 kB / 0.7221 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004971/0.5005, allocations: 0.4979 MB / 0.7226 GB, free: 376 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003825/0.5009, allocations: 287.3 kB / 0.7229 GB, free: 84 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/0.5009, allocations: 4 kB / 0.7229 GB, free: 80 kB / 0.5294 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.000962/0.5019, allocations: 0.6807 MB / 0.7235 GB, free: 15.39 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001512/0.5021, allocations: 281 kB / 0.7238 GB, free: 15.03 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.5021, allocations: 8 kB / 0.7238 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.5021, allocations: 8.219 kB / 0.7238 GB, free: 15.02 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000389/0.5025, allocations: 115.8 kB / 0.7239 GB, free: 14.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.081e-05/0.5025, allocations: 11.94 kB / 0.7239 GB, free: 14.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000576/0.5031, allocations: 115.2 kB / 0.724 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-05/0.5031, allocations: 24 kB / 0.7241 GB, free: 14.75 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.541e-06/0.5032, allocations: 0 / 0.7241 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007913/0.504, allocations: 0.5439 MB / 0.7246 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.504, allocations: 7.984 kB / 0.7246 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.454e-06/0.504, allocations: 12 kB / 0.7246 GB, free: 14.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003143/0.5043, allocations: 100.3 kB / 0.7247 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.057e-05/0.5043, allocations: 15.94 kB / 0.7247 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005128/0.5048, allocations: 99.52 kB / 0.7248 GB, free: 13.97 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.092e-05/0.5049, allocations: 20 kB / 0.7248 GB, free: 13.95 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_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): 52 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004035/0.5053, allocations: 469.1 kB / 0.7253 GB, free: 13.48 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.319e-05/0.5054, allocations: 102.8 kB / 0.7254 GB, free: 13.38 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007789/0.5062, allocations: 0.4918 MB / 0.7259 GB, free: 12.89 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.503e-06/0.5062, allocations: 7.984 kB / 0.7259 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/0.5062, allocations: 0 / 0.7259 GB, free: 12.88 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.5062, allocations: 7.984 kB / 0.7259 GB, free: 12.87 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001707/0.5079, allocations: 1.4 MB / 0.7272 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.5079, allocations: 3.938 kB / 0.7272 GB, free: 11.39 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002181/0.5082, allocations: 67.89 kB / 0.7273 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.961e-06/0.5082, allocations: 4.875 kB / 0.7273 GB, free: 11.32 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.963e-05/0.5082, allocations: 8 kB / 0.7273 GB, free: 11.31 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.263e-06/0.5082, allocations: 11.92 kB / 0.7273 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.5082, allocations: 4 kB / 0.7273 GB, free: 11.3 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007055/0.5089, allocations: 0.614 MB / 0.7279 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002425/0.5092, allocations: 215.8 kB / 0.7281 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.37e-05/0.5093, allocations: 8 kB / 0.7282 GB, free: 10.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004132/0.5097, allocations: 59.88 kB / 0.7282 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.166e-05/0.5098, allocations: 35.91 kB / 0.7282 GB, free: 10.31 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.188e-05/0.5098, allocations: 12 kB / 0.7283 GB, free: 10.3 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0008224/0.5106, allocations: 0.7758 MB / 0.729 GB, free: 9.516 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5107, allocations: 4 kB / 0.729 GB, free: 9.512 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0009261/0.5116, allocations: 415.4 kB / 0.7294 GB, free: 9.105 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): 29 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001178/0.5128, allocations: 1.231 MB / 0.7306 GB, free: 7.84 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.001134/0.5139, allocations: 0.7919 MB / 0.7314 GB, free: 7.023 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.5139, allocations: 1.375 kB / 0.7314 GB, free: 7.023 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000327/0.5143, allocations: 208.2 kB / 0.7316 GB, free: 6.82 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001673/0.5159, allocations: 464.6 kB / 0.732 GB, free: 6.371 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009148/0.5251, allocations: 6.242 MB / 0.7381 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006401/0.5258, allocations: 1.188 MB / 0.7393 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0009867/0.5268, allocations: 423.5 kB / 0.7397 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003769/0.5271, allocations: 319.3 kB / 0.74 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of SimCode: time 4.21e-07/0.5271, allocations: 0 / 0.74 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03728/0.5644, allocations: 25.53 MB / 0.7649 GB, free: 4.758 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002035/0.5647, allocations: 243.7 kB / 0.7652 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.942/2.507, allocations: 3.938 kB / 0.7652 GB, free: 4.477 MB / 0.5762 GB (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Examples_Performance_PressureDrop_SeriesFlowOptimised.fmu > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1) Environment - environmentSimulation: