Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.Examples.ResistanceVolumeFlowReversal") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.845/4.845, allocations: 0.5623 GB / 0.5776 GB, free: 3.34 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002559/0.002559, allocations: 360.9 kB / 0.6447 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.199/4.199, allocations: 410.7 MB / 1.113 GB, free: 6 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001786/0.001786, allocations: 198.5 kB / 1.226 GB, free: 6.188 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004935/0.0004937, allocations: 16 kB / 1.349 GB, free: 8.336 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6996/0.7001, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.ResistanceVolumeFlowReversal): time 0.08656/0.7867, allocations: 74.4 MB / 1.534 GB, free: 210.1 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.03659/0.8234, allocations: 20.72 MB / 1.554 GB, free: 189.4 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003819/0.8273, allocations: 91.31 kB / 1.554 GB, free: 189.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.005094/0.8324, allocations: 1.137 MB / 1.555 GB, free: 188.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.01214/0.8446, allocations: 3.303 MB / 1.559 GB, free: 184.8 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.01458/0.8592, allocations: 3.932 MB / 1.562 GB, free: 181 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.02258/0.8818, allocations: 17.4 MB / 1.579 GB, free: 163.5 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01364/0.8955, allocations: 5.185 MB / 1.585 GB, free: 158.4 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01277/0.9083, allocations: 4.47 MB / 1.589 GB, free: 153.9 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01245/0.9208, allocations: 4.579 MB / 1.593 GB, free: 149.3 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.002378/0.9233, allocations: 260 kB / 1.594 GB, free: 149.1 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008161/0.9315, allocations: 1.322 MB / 1.595 GB, free: 147.7 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.003562/0.9351, allocations: 1.218 MB / 1.596 GB, free: 146.5 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.003411/0.9385, allocations: 1.112 MB / 1.597 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.01375/0.9523, allocations: 6.874 MB / 1.604 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.9524, allocations: 4 kB / 1.604 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.605e-06/0.9524, allocations: 0 / 1.604 GB, free: 138.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 0.0002741/0.9527, allocations: 4 kB / 1.604 GB, free: 138.5 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 835 * Number of variables: 835 Notification: Performance of Generate backend data structure: time 0.01808/0.9708, allocations: 5.415 MB / 1.609 GB, free: 133 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.753e-05/0.9709, allocations: 8.031 kB / 1.609 GB, free: 133 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00615/0.977, allocations: 0.8363 MB / 1.61 GB, free: 132.1 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01507/0.9922, allocations: 5.029 MB / 1.615 GB, free: 127 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000324/0.9925, allocations: 267 kB / 1.615 GB, free: 126.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001412/0.994, allocations: 344 kB / 1.616 GB, free: 126.4 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01604/1.01, allocations: 5.727 MB / 1.621 GB, free: 120.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001275/1.01, allocations: 15.86 kB / 1.621 GB, free: 120.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009974/1.011, allocations: 144 kB / 1.621 GB, free: 120.3 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-05/1.011, allocations: 84 kB / 1.621 GB, free: 120.2 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01599/1.027, allocations: 5.558 MB / 1.627 GB, free: 114.7 MB / 0.8542 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.04941/1.077, allocations: 24 MB / 1.65 GB, free: 89.53 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007996/1.085, allocations: 2.811 MB / 1.653 GB, free: 86.72 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004939/1.09, allocations: 1.925 MB / 1.655 GB, free: 84.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01986/1.11, allocations: 7.147 MB / 1.662 GB, free: 77.33 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005613/1.115, allocations: 1.943 MB / 1.664 GB, free: 75.38 MB / 0.8542 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.007548/1.123, allocations: 1.247 MB / 1.665 GB, free: 74.13 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=155): time 1.436e-05/1.123, allocations: 0 / 1.665 GB, free: 74.13 MB / 0.8542 GB Notification: Performance of matching and sorting (n=155): time 0.03779/1.161, allocations: 7.628 MB / 1.672 GB, free: 66.42 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.349e-05/1.161, allocations: 145.8 kB / 1.673 GB, free: 66.25 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009891/1.171, allocations: 4.848 MB / 1.677 GB, free: 61.41 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0006829/1.172, allocations: 61.7 kB / 1.677 GB, free: 61.34 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.002951/1.175, allocations: 2.447 MB / 1.68 GB, free: 58.87 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.001112/1.176, allocations: 0.547 MB / 1.68 GB, free: 58.32 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003355/1.176, allocations: 56 kB / 1.68 GB, free: 58.26 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001788/1.176, allocations: 407.4 kB / 1.681 GB, free: 57.86 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004633/1.181, allocations: 1.672 MB / 1.682 GB, free: 56.18 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005444/1.186, allocations: 2.893 MB / 1.685 GB, free: 52.73 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005425/1.192, allocations: 2.104 MB / 1.687 GB, free: 50.62 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.862e-05/1.192, allocations: 12 kB / 1.687 GB, free: 50.61 MB / 0.8542 GB Notification: Performance of matching and sorting (n=340) (initialization): time 0.01795/1.21, allocations: 6.025 MB / 1.693 GB, free: 44.55 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006204/1.211, allocations: 1.096 MB / 1.694 GB, free: 42.99 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.35e-05/1.211, allocations: 36 kB / 1.694 GB, free: 42.95 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1377/1.348, allocations: 11.88 MB / 1.706 GB, free: 31.05 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005095/1.354, allocations: 0.6707 MB / 1.706 GB, free: 30.38 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01277/1.366, allocations: 5.032 MB / 1.711 GB, free: 25.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007392/1.374, allocations: 343.7 kB / 1.712 GB, free: 24.94 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000818/1.375, allocations: 167.9 kB / 1.712 GB, free: 24.77 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/1.375, allocations: 8 kB / 1.712 GB, free: 24.77 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.014/1.389, allocations: 5.372 MB / 1.717 GB, free: 19.38 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.693e-05/1.389, allocations: 36 kB / 1.717 GB, free: 19.34 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.1356/1.524, allocations: 11.67 MB / 1.729 GB, free: 7.648 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004868/1.529, allocations: 0.6513 MB / 1.729 GB, free: 6.996 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6447/2.174, allocations: 8.075 MB / 1.737 GB, free: 255.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007207/2.181, allocations: 324.9 kB / 1.737 GB, free: 255.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008816/2.182, allocations: 157.3 kB / 1.738 GB, free: 255.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 149 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,nRes.y,allowFlowReversal.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (287): * Single equations (assignments): 280 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 3 {11 13,10 11,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.004244/2.187, allocations: 1.544 MB / 1.739 GB, free: 255.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001498/2.188, allocations: 467.8 kB / 1.739 GB, free: 255.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01588/2.204, allocations: 4.869 MB / 1.744 GB, free: 254.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.03537/2.239, allocations: 6.997 MB / 1.751 GB, free: 251 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.163e-05/2.24, allocations: 0.75 kB / 1.751 GB, free: 251 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004231/2.244, allocations: 1.069 MB / 1.752 GB, free: 250.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001758/2.246, allocations: 33.28 kB / 1.752 GB, free: 250.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006831/2.252, allocations: 271.2 kB / 1.752 GB, free: 250.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007671/2.253, allocations: 126.8 kB / 1.753 GB, free: 250.6 MB / 0.8542 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.02194/2.275, allocations: 5.4 MB / 1.758 GB, free: 248.9 MB / 0.8542 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01665/2.292, allocations: 6.097 MB / 1.764 GB, free: 245.7 MB / 0.8542 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.005773/2.298, allocations: 1.957 MB / 1.766 GB, free: 244.7 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.00804/2.306, allocations: 3.316 MB / 1.769 GB, free: 242.3 MB / 0.8542 GB Notification: Performance of Backend: time 5.92e-07/2.306, allocations: 0 / 1.769 GB, free: 242.3 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.02864/2.335, allocations: 6.214 MB / 1.775 GB, free: 236.2 MB / 0.8542 GB Notification: Performance of SimCode: time 0.03513/2.37, allocations: 12.93 MB / 1.788 GB, free: 223.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.2378/2.608, allocations: 111 MB / 1.896 GB, free: 114.1 MB / 0.8542 GB