Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.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: translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") translateModel(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001091/0.001091, allocations: 98.81 kB / 16.02 MB, free: 80 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.001393/0.001393, allocations: 184 kB / 16.92 MB, free: 6.754 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.342/1.342, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6987/0.6987, allocations: 115.5 MB / 407.6 MB, free: 2.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004774/0.0004775, allocations: 8 kB / 495.9 MB, free: 6.34 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.158, allocations: 77.53 MB / 0.56 GB, free: 9.02 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised): time 0.4276/0.5857, allocations: 163.3 MB / 0.7195 GB, free: 3.461 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003463/0.5892, allocations: 2.2 MB / 0.7216 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000241/0.5894, allocations: 15.88 kB / 0.7216 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0005768/0.59, allocations: 198.9 kB / 0.7218 GB, free: 1.047 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.001375/0.5914, allocations: 0.642 MB / 0.7225 GB, free: 408 kB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009482/0.5923, allocations: 384.2 kB / 0.7228 GB, free: 28 kB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003672/0.596, allocations: 3.79 MB / 0.7265 GB, free: 12.23 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002707/0.5988, allocations: 2.363 MB / 0.7288 GB, free: 9.852 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001916/0.6007, allocations: 1.117 MB / 0.7299 GB, free: 8.73 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001018/0.6017, allocations: 0.8675 MB / 0.7308 GB, free: 7.859 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001004/0.6018, allocations: 48 kB / 0.7308 GB, free: 7.812 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001491/0.6033, allocations: 0.8925 MB / 0.7317 GB, free: 6.918 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003171/0.6036, allocations: 330.7 kB / 0.732 GB, free: 6.594 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006553/0.6043, allocations: 0.604 MB / 0.7326 GB, free: 5.98 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.001649/0.606, allocations: 1.581 MB / 0.7341 GB, free: 4.395 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.606, allocations: 4 kB / 0.7341 GB, free: 4.391 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.643e-06/0.606, allocations: 0 / 0.7341 GB, free: 4.391 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.223e-05/0.606, allocations: 7.938 kB / 0.7341 GB, free: 4.383 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 136 * Number of variables: 136 Notification: Performance of Generate backend data structure: time 0.0024/0.6084, allocations: 1.468 MB / 0.7356 GB, free: 2.855 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.913e-05/0.6085, allocations: 12.03 kB / 0.7356 GB, free: 2.844 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007716/0.6092, allocations: 198.4 kB / 0.7358 GB, free: 2.648 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001242/0.6105, allocations: 0.8733 MB / 0.7366 GB, free: 1.719 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.441e-05/0.6106, allocations: 49.31 kB / 0.7367 GB, free: 1.672 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001144/0.6107, allocations: 67.94 kB / 0.7367 GB, free: 1.605 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001478/0.6122, allocations: 0.9948 MB / 0.7377 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.967e-05/0.6122, allocations: 0 / 0.7377 GB, free: 0.5312 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.829e-05/0.6123, allocations: 31.92 kB / 0.7377 GB, free: 0.5 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.597e-05/0.6123, allocations: 16 kB / 0.7378 GB, free: 496 kB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001349/0.6136, allocations: 0.8038 MB / 0.7385 GB, free: 15.68 MB / 0.5606 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.004719/0.6184, allocations: 4.812 MB / 0.7432 GB, free: 10.52 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002613/0.621, allocations: 4.022 MB / 0.7472 GB, free: 5.676 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005263/0.6215, allocations: 345.2 kB / 0.7475 GB, free: 5.336 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000271/0.6218, allocations: 198.5 kB / 0.7477 GB, free: 5.105 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005325/0.6224, allocations: 325.1 kB / 0.748 GB, free: 4.77 MB / 0.5606 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002511/0.6226, allocations: 31.69 kB / 0.748 GB, free: 4.738 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=35): time 3.406e-06/0.6226, allocations: 4 kB / 0.748 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of matching and sorting (n=35): time 0.004651/0.6273, allocations: 1.613 MB / 0.7496 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.993e-05/0.6274, allocations: 85.09 kB / 0.7497 GB, free: 2.988 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001442/0.6288, allocations: 1.18 MB / 0.7508 GB, free: 1.793 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.118e-05/0.6289, allocations: 41.7 kB / 0.7509 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004522/0.6293, allocations: 0.5199 MB / 0.7514 GB, free: 1.223 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.6295, allocations: 126.2 kB / 0.7515 GB, free: 1.098 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.972e-05/0.6295, allocations: 49.69 kB / 0.7516 GB, free: 1.043 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.6297, allocations: 322 kB / 0.7519 GB, free: 0.7227 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004288/0.6301, allocations: 236.9 kB / 0.7521 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006677/0.6308, allocations: 0.5605 MB / 0.7526 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009598/0.6317, allocations: 0.6912 MB / 0.7533 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.473e-06/0.6318, allocations: 4 kB / 0.7533 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.00232/0.6341, allocations: 1.115 MB / 0.7544 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001942/0.6343, allocations: 279.5 kB / 0.7547 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.6343, allocations: 11.98 kB / 0.7547 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001271/0.6356, allocations: 346.2 kB / 0.755 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004358/0.636, allocations: 111.8 kB / 0.7551 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00101/0.6371, allocations: 1.007 MB / 0.7561 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009713/0.6381, allocations: 91.38 kB / 0.7562 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.067e-05/0.6381, allocations: 31.98 kB / 0.7562 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 8.646e-06/0.6381, allocations: 11.94 kB / 0.7562 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001448/0.6396, allocations: 0.7751 MB / 0.757 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.6396, allocations: 7.938 kB / 0.757 GB, free: 11.12 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005462/0.6402, allocations: 228.6 kB / 0.7572 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003896/0.6406, allocations: 96.06 kB / 0.7573 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003393/0.644, allocations: 2.91 MB / 0.7602 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009747/0.645, allocations: 103.8 kB / 0.7602 GB, free: 7.652 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.203e-05/0.645, allocations: 20 kB / 0.7603 GB, free: 7.633 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_m_flow.count,$PRE.pulse_m_flow.count,pulse_m_flow.T_start,$PRE.pulse_m_flow.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (38): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0006088/0.6456, allocations: 472.8 kB / 0.7607 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001646/0.6458, allocations: 114.6 kB / 0.7608 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001432/0.6472, allocations: 0.7893 MB / 0.7616 GB, free: 6.246 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.332e-06/0.6473, allocations: 4 kB / 0.7616 GB, free: 6.242 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.922e-06/0.6473, allocations: 8 kB / 0.7616 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.561e-06/0.6473, allocations: 192 / 0.7616 GB, free: 6.234 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 postOpt removeSimpleEquations (simulation): time 0.002913/0.6502, allocations: 2.125 MB / 0.7637 GB, free: 3.969 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.6502, allocations: 11.92 kB / 0.7637 GB, free: 3.957 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003403/0.6506, allocations: 84.08 kB / 0.7638 GB, free: 3.875 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003986/0.651, allocations: 168.7 kB / 0.7639 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.747e-05/0.651, allocations: 15.92 kB / 0.764 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007288/0.6517, allocations: 0.8527 MB / 0.7648 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.6518, allocations: 64 / 0.7648 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001305/0.6531, allocations: 0.8671 MB / 0.7656 GB, free: 1.906 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003973/0.6535, allocations: 231.7 kB / 0.7659 GB, free: 1.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000149/0.6536, allocations: 15.98 kB / 0.7659 GB, free: 1.645 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007293/0.6544, allocations: 71.77 kB / 0.7659 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.937e-05/0.6545, allocations: 31.91 kB / 0.766 GB, free: 1.543 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.661e-05/0.6545, allocations: 11.98 kB / 0.766 GB, free: 1.531 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00112/0.6556, allocations: 0.8327 MB / 0.7668 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6556, allocations: 0 / 0.7668 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001403/0.6571, allocations: 0.5031 MB / 0.7673 GB, free: 192 kB / 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_m_flow.T_start,pulse_m_flow.count) * Number of discrete states: 1 (pulse_m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004669/0.6575, allocations: 185.6 kB / 0.7675 GB, free: 4 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002205/0.6598, allocations: 1.163 MB / 0.7686 GB, free: 14.81 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.6598, allocations: 3.938 kB / 0.7686 GB, free: 14.8 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0004853/0.6603, allocations: 248.7 kB / 0.7688 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003847/0.6641, allocations: 0.6504 MB / 0.7695 GB, free: 13.93 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003241/0.6674, allocations: 2.202 MB / 0.7716 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008657/0.6683, allocations: 1.213 MB / 0.7728 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001199/0.6695, allocations: 388.6 kB / 0.7732 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001799/0.6697, allocations: 71.44 kB / 0.7732 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of SimCode: time 6.61e-07/0.6697, allocations: 0 / 0.7732 GB, free: 9.977 MB / 0.5919 GB Notification: Performance of Templates: time 0.03865/0.7083, allocations: 21.34 MB / 0.7941 GB, free: 4.898 MB / 0.6075 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.sim & ./IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Examples.Performance.PressureDrop.SeriesParallelFlowOptimised.pipe 2>&1)