Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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: translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001342/0.001342, allocations: 111.3 kB / 15.23 MB, free: 0.6406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001825/0.001825, allocations: 194 kB / 16.14 MB, free: 6.688 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.373/1.373, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.731/2.731, allocations: 472.6 MB / 0.7447 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0013/0.0013, allocations: 61.67 kB / 0.9113 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.331, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.1801/0.5111, allocations: 159.4 MB / 1.223 GB, free: 10.92 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003033/0.5142, allocations: 1.779 MB / 1.225 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002398/0.5145, allocations: 11.88 kB / 1.225 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0005657/0.5151, allocations: 135.2 kB / 1.225 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.001211/0.5163, allocations: 0.498 MB / 1.226 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000979/0.5173, allocations: 346 kB / 1.226 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.003095/0.5204, allocations: 3.471 MB / 1.229 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009508/0.5214, allocations: 0.7664 MB / 1.23 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00146/0.5228, allocations: 0.9064 MB / 1.231 GB, free: 2.988 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008493/0.5237, allocations: 0.7234 MB / 1.232 GB, free: 2.262 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 9.403e-05/0.5238, allocations: 36 kB / 1.232 GB, free: 2.227 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001529/0.5253, allocations: 0.799 MB / 1.232 GB, free: 1.426 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003173/0.5257, allocations: 294.9 kB / 1.233 GB, free: 1.137 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0006263/0.5263, allocations: 0.5166 MB / 1.233 GB, free: 0.6172 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001568/0.5279, allocations: 1.386 MB / 1.235 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.5279, allocations: 0 / 1.235 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of FrontEnd: time 9.71e-07/0.5279, allocations: 0 / 1.235 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.34e-05/0.5279, allocations: 0 / 1.235 GB, free: 15.23 MB / 0.9981 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.002303/0.5302, allocations: 1.439 MB / 1.236 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.5303, allocations: 19.91 kB / 1.236 GB, free: 13.71 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007496/0.531, allocations: 182.5 kB / 1.236 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001161/0.5322, allocations: 0.7944 MB / 1.237 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.374e-05/0.5323, allocations: 45 kB / 1.237 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.991e-05/0.5324, allocations: 71.92 kB / 1.237 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001214/0.5336, allocations: 0.7848 MB / 1.238 GB, free: 11.7 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.888e-05/0.5336, allocations: 7.938 kB / 1.238 GB, free: 11.69 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.525e-05/0.5337, allocations: 24 kB / 1.238 GB, free: 11.67 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.934e-05/0.5337, allocations: 16 kB / 1.238 GB, free: 11.65 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009226/0.5346, allocations: 0.5344 MB / 1.238 GB, free: 11.12 MB / 0.9981 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.004183/0.5388, allocations: 4.591 MB / 1.243 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007167/0.5396, allocations: 421.2 kB / 1.243 GB, free: 5.727 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003905/0.54, allocations: 249.3 kB / 1.243 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003141/0.5403, allocations: 194.2 kB / 1.244 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005124/0.5408, allocations: 285.1 kB / 1.244 GB, free: 4.957 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=31): time 2.154e-06/0.5408, allocations: 4 kB / 1.244 GB, free: 4.953 MB / 0.9981 GB Notification: Performance of matching and sorting (n=31): time 0.001393/0.5422, allocations: 0.6374 MB / 1.245 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.5423, allocations: 85.09 kB / 1.245 GB, free: 4.207 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001331/0.5436, allocations: 1.11 MB / 1.246 GB, free: 3.078 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.538e-05/0.5437, allocations: 33.7 kB / 1.246 GB, free: 3.039 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004162/0.5441, allocations: 0.4886 MB / 1.246 GB, free: 2.543 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.5442, allocations: 114.5 kB / 1.246 GB, free: 2.43 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001744/0.5444, allocations: 110 kB / 1.246 GB, free: 2.316 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.5445, allocations: 325.9 kB / 1.247 GB, free: 1.992 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003987/0.5449, allocations: 214.4 kB / 1.247 GB, free: 1.777 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006206/0.5455, allocations: 0.5252 MB / 1.247 GB, free: 1.117 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008794/0.5464, allocations: 0.6237 MB / 1.248 GB, free: 424 kB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.5465, allocations: 4 kB / 1.248 GB, free: 420 kB / 0.9981 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.6359/1.182, allocations: 0.716 MB / 1.249 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.75e-05/1.182, allocations: 35.89 kB / 1.249 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/1.182, allocations: 6.812 kB / 1.249 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.524e-05/1.182, allocations: 7.719 kB / 1.249 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005055/1.183, allocations: 109.2 kB / 1.249 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.046e-05/1.183, allocations: 12.67 kB / 1.249 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009869/1.184, allocations: 97.98 kB / 1.249 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.715e-05/1.184, allocations: 27.95 kB / 1.249 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0009476/1.185, allocations: 0.4949 MB / 1.25 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006025/1.186, allocations: 496.9 kB / 1.25 GB, free: 185 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008149/1.187, allocations: 0.5541 MB / 1.251 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.849e-06/1.187, allocations: 1.656 kB / 1.251 GB, free: 184.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.0013/1.188, allocations: 0.6431 MB / 1.251 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/1.188, allocations: 36.14 kB / 1.251 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/1.188, allocations: 6.938 kB / 1.251 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/1.188, allocations: 8.781 kB / 1.251 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003834/1.188, allocations: 108.5 kB / 1.251 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.599e-05/1.188, allocations: 10.91 kB / 1.251 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007025/1.189, allocations: 85.36 kB / 1.251 GB, free: 184.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.274e-05/1.189, allocations: 26.06 kB / 1.251 GB, free: 184.6 MB / 0.9981 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 (pulse_p.count,$PRE.pulse_p.count,pulse_p.T_start,$PRE.pulse_p.T_start,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002035/1.189, allocations: 223.2 kB / 1.252 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001327/1.189, allocations: 96.62 kB / 1.252 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/1.191, allocations: 0.4921 MB / 1.252 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.824e-06/1.191, allocations: 4.406 kB / 1.252 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.857e-06/1.191, allocations: 2.938 kB / 1.252 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.063e-06/1.191, allocations: 2.812 kB / 1.252 GB, free: 184.4 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002138/1.193, allocations: 1.372 MB / 1.254 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/1.193, allocations: 1.812 kB / 1.254 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002519/1.193, allocations: 69.52 kB / 1.254 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.758e-06/1.193, allocations: 7.688 kB / 1.254 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.411e-05/1.193, allocations: 14.33 kB / 1.254 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.392e-06/1.193, allocations: 4.016 kB / 1.254 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.441e-06/1.193, allocations: 9.719 kB / 1.254 GB, free: 183.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008262/1.194, allocations: 0.595 MB / 1.254 GB, free: 183.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002476/1.194, allocations: 217.9 kB / 1.254 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001102/1.194, allocations: 7.812 kB / 1.254 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000447/1.195, allocations: 46.95 kB / 1.255 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.571e-05/1.195, allocations: 29.02 kB / 1.255 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-05/1.195, allocations: 9.203 kB / 1.255 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0009477/1.196, allocations: 0.7944 MB / 1.255 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.196, allocations: 2.656 kB / 1.255 GB, free: 183.4 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001061/1.197, allocations: 412.2 kB / 1.256 GB, free: 183.4 MB / 0.9981 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004172/1.197, allocations: 177 kB / 1.256 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001169/1.198, allocations: 0.8115 MB / 1.257 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.564e-06/1.198, allocations: 0 / 1.257 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003257/1.199, allocations: 201.8 kB / 1.257 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001886/1.201, allocations: 456.8 kB / 1.257 GB, free: 183.1 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002529/1.203, allocations: 2.047 MB / 1.259 GB, free: 182.1 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006458/1.204, allocations: 1.182 MB / 1.26 GB, free: 181.4 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001132/1.205, allocations: 418.7 kB / 1.261 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001816/1.205, allocations: 74.81 kB / 1.261 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of SimCode: time 9.42e-07/1.205, allocations: 0 / 1.261 GB, free: 181.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.03649/1.242, allocations: 16.52 MB / 1.277 GB, free: 177.3 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)