Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.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(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised") translateModel(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.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.001668/0.001668, allocations: 105.5 kB / 16.27 MB, free: 6.414 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.001937/0.001937, allocations: 191.7 kB / 17.2 MB, free: 5.953 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.424/1.424, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 0.8908/0.8908, allocations: 143.3 MB / 434.4 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003053/0.003054, allocations: 71.89 kB / 0.5151 GB, free: 15 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4026/0.4057, allocations: 82.03 MB / 0.5952 GB, free: 15.98 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.5758/0.9815, allocations: 161.6 MB / 0.753 GB, free: 1.75 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.00356/0.9852, allocations: 1.759 MB / 0.7547 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005656/0.9858, allocations: 13.5 kB / 0.7548 GB, free: 1.727 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000724/0.9865, allocations: 166.7 kB / 0.7549 GB, free: 1.723 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001776/0.9883, allocations: 0.5256 MB / 0.7554 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001486/0.9898, allocations: 392 kB / 0.7558 GB, free: 1.691 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003019/0.9929, allocations: 2.52 MB / 0.7583 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001723/0.9946, allocations: 0.9389 MB / 0.7592 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002592/0.9972, allocations: 1.019 MB / 0.7602 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001816/0.9991, allocations: 0.7081 MB / 0.7609 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004194/0.9995, allocations: 54.81 kB / 0.7609 GB, free: 1.594 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002692/1.002, allocations: 0.7353 MB / 0.7616 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0008854/1.003, allocations: 305 kB / 0.7619 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002091/1.005, allocations: 0.5395 MB / 0.7625 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00374/1.009, allocations: 1.426 MB / 0.7638 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/1.009, allocations: 0.5 kB / 0.7638 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.544e-06/1.009, allocations: 0.8125 kB / 0.7638 GB, free: 1.484 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.217e-05/1.009, allocations: 0.5312 kB / 0.7639 GB, free: 1.484 MB / 0.5762 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.004209/1.013, allocations: 1.446 MB / 0.7653 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.741e-05/1.013, allocations: 11.69 kB / 0.7653 GB, free: 16.64 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001034/1.014, allocations: 186.8 kB / 0.7655 GB, free: 16.59 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001375/1.016, allocations: 0.7973 MB / 0.7662 GB, free: 16.22 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.042e-05/1.016, allocations: 48.06 kB / 0.7663 GB, free: 16.22 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.499e-05/1.016, allocations: 60.59 kB / 0.7663 GB, free: 16.22 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001124/1.017, allocations: 0.7952 MB / 0.7671 GB, free: 16 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.817e-05/1.017, allocations: 0 / 0.7671 GB, free: 16 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.265e-05/1.017, allocations: 26.62 kB / 0.7671 GB, free: 16 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/1.017, allocations: 13.31 kB / 0.7671 GB, free: 16 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00109/1.018, allocations: 0.5441 MB / 0.7677 GB, free: 16 MB / 0.5919 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.004647/1.023, allocations: 4.609 MB / 0.7722 GB, free: 12.56 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006773/1.024, allocations: 413.5 kB / 0.7726 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003223/1.024, allocations: 244.9 kB / 0.7728 GB, free: 12.53 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003161/1.024, allocations: 197.4 kB / 0.773 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004651/1.025, allocations: 285.8 kB / 0.7733 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=31): time 3.336e-06/1.025, allocations: 2.016 kB / 0.7733 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of matching and sorting (n=31): time 0.001365/1.026, allocations: 0.638 MB / 0.7739 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.029e-05/1.026, allocations: 82.17 kB / 0.774 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001275/1.028, allocations: 1.114 MB / 0.7751 GB, free: 11.94 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.627e-05/1.028, allocations: 41.55 kB / 0.7751 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003944/1.028, allocations: 493.2 kB / 0.7756 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001005/1.028, allocations: 109.2 kB / 0.7757 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001568/1.028, allocations: 107.4 kB / 0.7758 GB, free: 11.65 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001546/1.028, allocations: 326.3 kB / 0.7761 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003325/1.029, allocations: 216.8 kB / 0.7763 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006157/1.029, allocations: 0.5245 MB / 0.7768 GB, free: 10.98 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008356/1.03, allocations: 0.6367 MB / 0.7774 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/1.03, allocations: 2.469 kB / 0.7774 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001175/1.031, allocations: 0.7189 MB / 0.7781 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.178e-05/1.031, allocations: 33.95 kB / 0.7782 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/1.031, allocations: 9.438 kB / 0.7782 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/1.032, allocations: 7.938 kB / 0.7782 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003953/1.032, allocations: 114.5 kB / 0.7783 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.277e-05/1.032, allocations: 8.531 kB / 0.7783 GB, free: 10.61 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007098/1.033, allocations: 72.69 kB / 0.7784 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-05/1.033, allocations: 32.89 kB / 0.7784 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006768/1.033, allocations: 0.4961 MB / 0.7789 GB, free: 10.5 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0005313/1.034, allocations: 490.6 kB / 0.7794 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000706/1.035, allocations: 0.5533 MB / 0.7799 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.837e-06/1.035, allocations: 4.062 kB / 0.7799 GB, free: 9.926 MB / 0.5919 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001009/1.036, allocations: 0.6389 MB / 0.7805 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.796e-05/1.036, allocations: 37.83 kB / 0.7806 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/1.036, allocations: 4.75 kB / 0.7806 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.071e-05/1.036, allocations: 15.52 kB / 0.7806 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003348/1.036, allocations: 109 kB / 0.7807 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.006e-05/1.036, allocations: 11.05 kB / 0.7807 GB, free: 9.773 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006639/1.037, allocations: 73.11 kB / 0.7808 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.511e-05/1.037, allocations: 19.72 kB / 0.7808 GB, free: 9.762 MB / 0.5919 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.0002181/1.037, allocations: 214.5 kB / 0.781 GB, free: 9.578 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001297/1.037, allocations: 98.59 kB / 0.7811 GB, free: 9.527 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008923/1.038, allocations: 0.4941 MB / 0.7816 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.089e-06/1.038, allocations: 3 kB / 0.7816 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.171e-06/1.038, allocations: 0.625 kB / 0.7816 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.405e-06/1.038, allocations: 6.531 kB / 0.7816 GB, free: 9.461 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001903/1.04, allocations: 1.383 MB / 0.7829 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.157e-06/1.04, allocations: 2.562 kB / 0.7829 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002242/1.04, allocations: 67.64 kB / 0.783 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.461e-06/1.04, allocations: 3.281 kB / 0.783 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.254e-05/1.04, allocations: 11.14 kB / 0.783 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/1.04, allocations: 3.594 kB / 0.783 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/1.04, allocations: 6.781 kB / 0.783 GB, free: 9.02 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007907/1.041, allocations: 0.6023 MB / 0.7836 GB, free: 8.773 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003175/1.041, allocations: 214.3 kB / 0.7838 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001146/1.042, allocations: 7.656 kB / 0.7838 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003746/1.042, allocations: 21.33 kB / 0.7838 GB, free: 8.629 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.523e-05/1.042, allocations: 29.72 kB / 0.7839 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.401e-05/1.042, allocations: 14.72 kB / 0.7839 GB, free: 8.625 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0009394/1.043, allocations: 0.7899 MB / 0.7846 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.51e-07/1.043, allocations: 0.75 kB / 0.7846 GB, free: 8.516 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001279/1.044, allocations: 413.3 kB / 0.785 GB, free: 8.48 MB / 0.5919 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.0004946/1.045, allocations: 189.2 kB / 0.7852 GB, free: 8.383 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001449/1.046, allocations: 0.8639 MB / 0.7861 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/1.046, allocations: 0 / 0.7861 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003222/1.047, allocations: 200.8 kB / 0.7863 GB, free: 8.242 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001924/1.049, allocations: 447.4 kB / 0.7867 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003032/1.052, allocations: 1.807 MB / 0.7884 GB, free: 7.504 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007958/1.052, allocations: 1.178 MB / 0.7896 GB, free: 6.801 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002332/1.053, allocations: 74.72 kB / 0.7897 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of SimCode: time 1.112e-06/1.053, allocations: 0.9375 kB / 0.7897 GB, free: 6.793 MB / 0.5919 GB Notification: Performance of Templates: time 0.02586/1.079, allocations: 15.9 MB / 0.8052 GB, free: 2.543 MB / 0.5919 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised.pipe 2>&1)