Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0007421/0.0007421, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.00468/0.00468, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.284/1.284, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001679/0.001679, allocations: 266.9 kB / 291.7 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9173/0.9173, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004216/0.0004217, allocations: 14.11 kB / 0.5987 GB, free: 28.05 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1464, allocations: 88.55 MB / 0.6851 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.4529/0.5993, allocations: 157.3 MB / 0.8387 GB, free: 8.004 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003382/0.6028, allocations: 1.739 MB / 0.8404 GB, free: 6.613 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003552/0.6032, allocations: 22.16 kB / 0.8405 GB, free: 6.598 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0005759/0.6037, allocations: 144.1 kB / 0.8406 GB, free: 6.48 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001309/0.6051, allocations: 0.4886 MB / 0.8411 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.000923/0.606, allocations: 347.8 kB / 0.8414 GB, free: 5.879 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003436/0.6094, allocations: 3.474 MB / 0.8448 GB, free: 4.02 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001077/0.6105, allocations: 0.7545 MB / 0.8455 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001466/0.612, allocations: 0.8949 MB / 0.8464 GB, free: 3.129 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007748/0.6128, allocations: 0.7245 MB / 0.8471 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.787e-05/0.6129, allocations: 30.44 kB / 0.8471 GB, free: 2.723 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001411/0.6143, allocations: 0.8001 MB / 0.8479 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003139/0.6146, allocations: 276.5 kB / 0.8482 GB, free: 2.09 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0005991/0.6152, allocations: 0.5361 MB / 0.8487 GB, free: 1.75 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001342/0.6166, allocations: 1.362 MB / 0.85 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.6166, allocations: 0 / 0.85 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.154e-06/0.6166, allocations: 0 / 0.85 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.6166, allocations: 0 / 0.85 GB, free: 0.9336 MB / 0.5606 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.001912/0.6185, allocations: 1.262 MB / 0.8513 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.689e-05/0.6186, allocations: 8.156 kB / 0.8513 GB, free: 15.93 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006924/0.6193, allocations: 187.4 kB / 0.8515 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001062/0.6203, allocations: 0.8028 MB / 0.8522 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.721e-05/0.6204, allocations: 41.66 kB / 0.8523 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.777e-05/0.6205, allocations: 69.66 kB / 0.8523 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001093/0.6216, allocations: 0.7948 MB / 0.8531 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.658e-05/0.6216, allocations: 7.938 kB / 0.8531 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.009e-05/0.6217, allocations: 23.94 kB / 0.8532 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.238e-05/0.6217, allocations: 14.09 kB / 0.8532 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008504/0.6225, allocations: 0.5417 MB / 0.8537 GB, free: 14.36 MB / 0.5762 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.003641/0.6262, allocations: 4.604 MB / 0.8582 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006681/0.6269, allocations: 423.8 kB / 0.8586 GB, free: 9.832 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003566/0.6272, allocations: 252.5 kB / 0.8588 GB, free: 9.711 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002729/0.6275, allocations: 197.6 kB / 0.859 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004505/0.628, allocations: 291.2 kB / 0.8593 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=31): time 1.814e-06/0.628, allocations: 0 / 0.8593 GB, free: 9.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=31): time 0.001248/0.6293, allocations: 0.6497 MB / 0.8599 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.521e-05/0.6293, allocations: 80.2 kB / 0.86 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001182/0.6305, allocations: 1.114 MB / 0.8611 GB, free: 8.316 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 5.164e-05/0.6306, allocations: 34.83 kB / 0.8611 GB, free: 8.281 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003729/0.6309, allocations: 0.4918 MB / 0.8616 GB, free: 7.852 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 8.809e-05/0.631, allocations: 103.7 kB / 0.8617 GB, free: 7.762 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.066e-05/0.6311, allocations: 46.83 kB / 0.8618 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001107/0.6312, allocations: 331.7 kB / 0.8621 GB, free: 7.402 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003592/0.6316, allocations: 206.6 kB / 0.8623 GB, free: 7.309 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005727/0.6322, allocations: 0.5223 MB / 0.8628 GB, free: 6.812 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008279/0.633, allocations: 0.6605 MB / 0.8634 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.338e-06/0.633, allocations: 2.656 kB / 0.8634 GB, free: 6.324 MB / 0.5762 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001061/0.6341, allocations: 0.7182 MB / 0.8641 GB, free: 5.949 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001633/0.6343, allocations: 273.1 kB / 0.8644 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.6343, allocations: 8.938 kB / 0.8644 GB, free: 5.609 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.774e-05/0.6343, allocations: 12.2 kB / 0.8644 GB, free: 5.605 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004081/0.6347, allocations: 114.5 kB / 0.8645 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.6347, allocations: 11.91 kB / 0.8645 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006798/0.6354, allocations: 95.7 kB / 0.8646 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.545e-05/0.6355, allocations: 23.22 kB / 0.8646 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 5.25e-06/0.6355, allocations: 2.875 kB / 0.8646 GB, free: 5.516 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008296/0.6363, allocations: 0.5414 MB / 0.8652 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.6363, allocations: 5.062 kB / 0.8652 GB, free: 5.242 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.434e-06/0.6364, allocations: 12.25 kB / 0.8652 GB, free: 5.238 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003371/0.6367, allocations: 107.6 kB / 0.8653 GB, free: 5.211 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.6367, allocations: 9.75 kB / 0.8653 GB, free: 5.207 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005789/0.6373, allocations: 99.02 kB / 0.8654 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.313e-05/0.6374, allocations: 27.84 kB / 0.8654 GB, free: 5.145 MB / 0.5762 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.0004655/0.6378, allocations: 475.8 kB / 0.8659 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001015/0.6379, allocations: 97.19 kB / 0.866 GB, free: 4.75 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008523/0.6388, allocations: 0.4906 MB / 0.8665 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.701e-06/0.6388, allocations: 4.594 kB / 0.8665 GB, free: 4.488 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.739e-06/0.6388, allocations: 4 kB / 0.8665 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.294e-06/0.6388, allocations: 3.984 kB / 0.8665 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001811/0.6406, allocations: 1.394 MB / 0.8678 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.975e-06/0.6407, allocations: 2.625 kB / 0.8678 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002313/0.6409, allocations: 65.48 kB / 0.8679 GB, free: 3.492 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.382e-06/0.6409, allocations: 7.094 kB / 0.8679 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/0.6409, allocations: 17.77 kB / 0.8679 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.146e-06/0.6409, allocations: 1.938 kB / 0.8679 GB, free: 3.477 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.641, allocations: 7.156 kB / 0.8679 GB, free: 3.473 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007494/0.6417, allocations: 0.6121 MB / 0.8685 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002506/0.642, allocations: 214.3 kB / 0.8687 GB, free: 2.887 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001012/0.6421, allocations: 18.83 kB / 0.8687 GB, free: 2.871 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004533/0.6425, allocations: 51.73 kB / 0.8688 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.055e-05/0.6426, allocations: 30.77 kB / 0.8688 GB, free: 2.828 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.161e-05/0.6427, allocations: 15 kB / 0.8688 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009173/0.6436, allocations: 0.7883 MB / 0.8696 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6436, allocations: 0 / 0.8696 GB, free: 2.113 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001046/0.6446, allocations: 403.5 kB / 0.87 GB, free: 1.719 MB / 0.5762 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.000377/0.645, allocations: 185 kB / 0.8702 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.001361/0.6464, allocations: 0.8385 MB / 0.871 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.6464, allocations: 0 / 0.871 GB, free: 0.6836 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0003684/0.6468, allocations: 213.4 kB / 0.8712 GB, free: 488 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002274/0.6491, allocations: 454.3 kB / 0.8716 GB, free: 36 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002842/0.6519, allocations: 2.046 MB / 0.8736 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007135/0.6527, allocations: 1.185 MB / 0.8748 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001048/0.6537, allocations: 419.5 kB / 0.8752 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001556/0.6539, allocations: 71.42 kB / 0.8752 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of SimCode: time 6.51e-07/0.6539, allocations: 4 kB / 0.8752 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of Templates: time 0.0275/0.6814, allocations: 16.42 MB / 0.8913 GB, free: 12.02 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)