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/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.001333/0.001333, allocations: 105.3 kB / 16.41 MB, free: 6.48 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.001461/0.001461, allocations: 189.5 kB / 17.34 MB, free: 5.734 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.382/1.382, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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/package.mo): time 0.8854/0.8854, allocations: 143.1 MB / 434.3 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 72.83 kB / 0.5962 GB, free: 12.39 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1661/0.1673, allocations: 82.03 MB / 0.6763 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesFlowOptimised): time 0.5995/0.7668, allocations: 161.7 MB / 0.8342 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.004172/0.7711, allocations: 1.765 MB / 0.8359 GB, free: 5.961 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006012/0.7717, allocations: 11.69 kB / 0.8359 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0008516/0.7726, allocations: 159.7 kB / 0.8361 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00191/0.7746, allocations: 0.5238 MB / 0.8366 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001484/0.7761, allocations: 388.8 kB / 0.837 GB, free: 5.156 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003274/0.7794, allocations: 2.529 MB / 0.8394 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001664/0.781, allocations: 0.936 MB / 0.8403 GB, free: 3.234 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00228/0.7833, allocations: 1.031 MB / 0.8413 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001457/0.7848, allocations: 0.7076 MB / 0.842 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000252/0.7851, allocations: 55.31 kB / 0.8421 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001999/0.7871, allocations: 0.7376 MB / 0.8428 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005527/0.7877, allocations: 311 kB / 0.8431 GB, free: 1.684 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001355/0.789, allocations: 0.535 MB / 0.8436 GB, free: 1.359 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002572/0.7916, allocations: 1.453 MB / 0.845 GB, free: 488 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.58e-06/0.7916, allocations: 0 / 0.845 GB, free: 488 kB / 0.6075 GB Notification: Performance of FrontEnd: time 3.656e-06/0.7916, allocations: 0 / 0.845 GB, free: 488 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.85e-05/0.7917, allocations: 0 / 0.845 GB, free: 488 kB / 0.6075 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.003351/0.7951, allocations: 1.45 MB / 0.8465 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.7951, allocations: 7.844 kB / 0.8465 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009517/0.7961, allocations: 180.1 kB / 0.8466 GB, free: 15.28 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001654/0.7977, allocations: 0.8582 MB / 0.8475 GB, free: 14.65 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.06e-05/0.7978, allocations: 44.75 kB / 0.8475 GB, free: 14.62 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001131/0.7979, allocations: 60 kB / 0.8476 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001288/0.7992, allocations: 0.7964 MB / 0.8484 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.612e-05/0.7992, allocations: 0 / 0.8484 GB, free: 13.68 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.167e-05/0.7993, allocations: 27.98 kB / 0.8484 GB, free: 13.66 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.571e-05/0.7993, allocations: 12 kB / 0.8484 GB, free: 13.64 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009772/0.8003, allocations: 0.5383 MB / 0.8489 GB, free: 13.11 MB / 0.6231 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.004612/0.8049, allocations: 4.591 MB / 0.8534 GB, free: 8.129 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007085/0.8057, allocations: 415.4 kB / 0.8538 GB, free: 7.715 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003685/0.806, allocations: 251 kB / 0.854 GB, free: 7.469 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003028/0.8064, allocations: 194.2 kB / 0.8542 GB, free: 7.242 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004797/0.8068, allocations: 294.1 kB / 0.8545 GB, free: 6.938 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=31): time 2.455e-06/0.8069, allocations: 4 kB / 0.8545 GB, free: 6.934 MB / 0.6231 GB Notification: Performance of matching and sorting (n=31): time 0.001415/0.8083, allocations: 0.6316 MB / 0.8551 GB, free: 6.297 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.046e-05/0.8084, allocations: 81.11 kB / 0.8552 GB, free: 6.199 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001495/0.8099, allocations: 1.114 MB / 0.8563 GB, free: 5.066 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 7.055e-05/0.81, allocations: 41.86 kB / 0.8563 GB, free: 5.02 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004339/0.8104, allocations: 496.1 kB / 0.8568 GB, free: 4.527 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.8105, allocations: 114.4 kB / 0.8569 GB, free: 4.414 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002004/0.8107, allocations: 106 kB / 0.857 GB, free: 4.305 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.8109, allocations: 333.9 kB / 0.8573 GB, free: 3.973 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003899/0.8113, allocations: 214.4 kB / 0.8575 GB, free: 3.762 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006504/0.8119, allocations: 0.5135 MB / 0.858 GB, free: 3.109 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009318/0.8129, allocations: 0.6385 MB / 0.8587 GB, free: 2.391 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/0.8129, allocations: 0 / 0.8587 GB, free: 2.391 MB / 0.6231 GB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001503/0.8144, allocations: 0.7204 MB / 0.8594 GB, free: 1.656 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 6.495e-05/0.8145, allocations: 33.7 kB / 0.8594 GB, free: 1.617 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.684e-05/0.8145, allocations: 4 kB / 0.8594 GB, free: 1.613 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.046e-05/0.8145, allocations: 8 kB / 0.8594 GB, free: 1.605 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004556/0.815, allocations: 111.8 kB / 0.8595 GB, free: 1.496 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.784e-05/0.815, allocations: 15.94 kB / 0.8595 GB, free: 1.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008433/0.8159, allocations: 75.8 kB / 0.8596 GB, free: 1.406 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.212e-05/0.816, allocations: 24 kB / 0.8596 GB, free: 1.383 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008225/0.8168, allocations: 0.4988 MB / 0.8601 GB, free: 0.8828 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006135/0.8174, allocations: 486.5 kB / 0.8606 GB, free: 284 kB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008686/0.8183, allocations: 0.5647 MB / 0.8611 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.547e-06/0.8183, allocations: 0 / 0.8611 GB, free: 15.63 MB / 0.6387 GB Notification: Performance of matching and sorting (n=54) (initialization_lambda0): time 0.001198/0.8195, allocations: 0.6425 MB / 0.8618 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.128e-05/0.8196, allocations: 44.61 kB / 0.8618 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.025e-06/0.8196, allocations: 4 kB / 0.8618 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.026e-05/0.8196, allocations: 8 kB / 0.8618 GB, free: 14.92 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003631/0.82, allocations: 107.8 kB / 0.8619 GB, free: 14.81 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.179e-05/0.82, allocations: 11.94 kB / 0.8619 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007085/0.8207, allocations: 64.06 kB / 0.862 GB, free: 14.74 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.128e-05/0.8207, allocations: 24 kB / 0.862 GB, free: 14.71 MB / 0.6387 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.0002054/0.821, allocations: 224 kB / 0.8622 GB, free: 14.49 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001749/0.8211, allocations: 98.77 kB / 0.8623 GB, free: 14.39 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009049/0.822, allocations: 498.9 kB / 0.8628 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.8221, allocations: 4 kB / 0.8628 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/0.8221, allocations: 0 / 0.8628 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.8221, allocations: 11.92 kB / 0.8628 GB, free: 13.88 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002125/0.8242, allocations: 1.385 MB / 0.8642 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.8242, allocations: 0 / 0.8642 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002595/0.8245, allocations: 67.89 kB / 0.8642 GB, free: 12.36 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.836e-06/0.8245, allocations: 11.88 kB / 0.8642 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.565e-05/0.8246, allocations: 8 kB / 0.8642 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.332e-06/0.8246, allocations: 4 kB / 0.8642 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.534e-06/0.8246, allocations: 0 / 0.8642 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008999/0.8255, allocations: 0.5987 MB / 0.8648 GB, free: 11.7 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003504/0.8258, allocations: 223.8 kB / 0.865 GB, free: 11.46 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001619/0.826, allocations: 15.92 kB / 0.8651 GB, free: 11.44 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004228/0.8264, allocations: 15.98 kB / 0.8651 GB, free: 11.43 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.263e-05/0.8265, allocations: 31.95 kB / 0.8651 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.49e-05/0.8266, allocations: 8 kB / 0.8651 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001114/0.8277, allocations: 0.7875 MB / 0.8659 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8277, allocations: 0 / 0.8659 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001343/0.8291, allocations: 415.4 kB / 0.8663 GB, free: 10.18 MB / 0.6387 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.0005076/0.8296, allocations: 182.1 kB / 0.8665 GB, free: 10.01 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001484/0.8311, allocations: 0.8176 MB / 0.8672 GB, free: 9.168 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.8311, allocations: 1.438 kB / 0.8673 GB, free: 9.168 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003545/0.8314, allocations: 192.2 kB / 0.8674 GB, free: 8.98 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001908/0.8334, allocations: 457.9 kB / 0.8679 GB, free: 8.535 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003155/0.8365, allocations: 1.769 MB / 0.8696 GB, free: 6.703 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008638/0.8374, allocations: 1.18 MB / 0.8708 GB, free: 5.492 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002464/0.8377, allocations: 79.42 kB / 0.8708 GB, free: 5.414 MB / 0.6387 GB Notification: Performance of SimCode: time 7.92e-07/0.8377, allocations: 0 / 0.8708 GB, free: 5.414 MB / 0.6387 GB Notification: Performance of Templates: time 0.02746/0.8651, allocations: 16.16 MB / 0.8866 GB, free: 5.371 MB / 0.6544 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)