Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002687/0.002692, allocations: 356.1 kB / 16.59 MB, free: 5.57 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.585/1.585, allocations: 165.8 MB / 183.1 MB, free: 5.492 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.329/4.329, allocations: 410.8 MB / 0.6001 GB, free: 15.18 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001812/0.001812, allocations: 195 kB / 0.6668 GB, free: 6.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005006/0.000501, allocations: 15.92 kB / 0.7429 GB, free: 8.973 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4852/0.4857, allocations: 67.45 MB / 0.8087 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.09124/0.577, allocations: 41.13 MB / 0.8489 GB, free: 3.555 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02652/0.6036, allocations: 12.06 MB / 0.8607 GB, free: 7.473 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001874/0.6055, allocations: 35.75 kB / 0.8607 GB, free: 7.438 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002459/0.6081, allocations: 468.9 kB / 0.8612 GB, free: 6.977 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.009101/0.6172, allocations: 1.896 MB / 0.863 GB, free: 5.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006386/0.6236, allocations: 1.205 MB / 0.8642 GB, free: 3.879 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.009037/0.6327, allocations: 3.622 MB / 0.8677 GB, free: 252 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002844/0.6356, allocations: 0.7421 MB / 0.8685 GB, free: 15.48 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004609/0.6403, allocations: 1.038 MB / 0.8695 GB, free: 14.44 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00272/0.643, allocations: 0.8245 MB / 0.8703 GB, free: 13.61 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003621/0.6434, allocations: 48 kB / 0.8703 GB, free: 13.57 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01266/0.6561, allocations: 0.943 MB / 0.8712 GB, free: 12.62 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00521/0.6614, allocations: 199 kB / 0.8714 GB, free: 12.43 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008675/0.6623, allocations: 277.1 kB / 0.8717 GB, free: 12.15 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008671/0.671, allocations: 1.672 MB / 0.8733 GB, free: 10.47 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.286e-06/0.6711, allocations: 4 kB / 0.8733 GB, free: 10.47 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.6711, allocations: 0 / 0.8733 GB, free: 10.47 MB / 426.7 MB Notification: Performance of Transformations before backend: time 4.423e-05/0.6712, allocations: 0 / 0.8733 GB, free: 10.47 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.01068/0.6818, allocations: 1.421 MB / 0.8747 GB, free: 8.996 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.875e-05/0.6819, allocations: 8.031 kB / 0.8747 GB, free: 8.988 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00072/0.6827, allocations: 130.5 kB / 0.8749 GB, free: 8.859 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005425/0.6881, allocations: 1.163 MB / 0.876 GB, free: 7.652 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.6883, allocations: 49.31 kB / 0.876 GB, free: 7.602 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002606/0.6886, allocations: 72 kB / 0.8761 GB, free: 7.531 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002764/0.6913, allocations: 0.7552 MB / 0.8768 GB, free: 6.742 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.266e-05/0.6914, allocations: 0 / 0.8768 GB, free: 6.742 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001499/0.6916, allocations: 31.98 kB / 0.8769 GB, free: 6.711 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.195e-05/0.6917, allocations: 16 kB / 0.8769 GB, free: 6.695 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002276/0.694, allocations: 0.5359 MB / 0.8774 GB, free: 6.16 MB / 426.7 MB 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.01144/0.7054, allocations: 4.524 MB / 0.8818 GB, free: 1.242 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001614/0.7071, allocations: 354.7 kB / 0.8822 GB, free: 0.8867 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008126/0.708, allocations: 213.1 kB / 0.8824 GB, free: 0.6758 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002653/0.7107, allocations: 1.523 MB / 0.8839 GB, free: 14.82 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.594e-05/0.7108, allocations: 34.56 kB / 0.8839 GB, free: 14.78 MB / 442.7 MB Notification: Performance of pre-optimization done (n=43): time 5.35e-06/0.7108, allocations: 4 kB / 0.8839 GB, free: 14.77 MB / 442.7 MB Notification: Performance of matching and sorting (n=43): time 0.005101/0.7159, allocations: 0.8811 MB / 0.8848 GB, free: 13.86 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.716, allocations: 55.41 kB / 0.8848 GB, free: 13.8 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002344/0.7184, allocations: 0.887 MB / 0.8857 GB, free: 12.89 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001481/0.7186, allocations: 41.64 kB / 0.8857 GB, free: 12.84 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006384/0.7192, allocations: 483.8 kB / 0.8862 GB, free: 12.36 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003039/0.7196, allocations: 157.8 kB / 0.8863 GB, free: 12.2 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.895e-05/0.7196, allocations: 8 kB / 0.8863 GB, free: 12.2 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001668/0.7198, allocations: 330 kB / 0.8867 GB, free: 11.87 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006238/0.7204, allocations: 169 kB / 0.8868 GB, free: 11.7 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007412/0.7212, allocations: 323 kB / 0.8871 GB, free: 11.32 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007533/0.722, allocations: 228.6 kB / 0.8873 GB, free: 11.1 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.528e-06/0.722, allocations: 4 kB / 0.8873 GB, free: 11.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002929/0.725, allocations: 0.7251 MB / 0.8881 GB, free: 10.36 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002202/0.7252, allocations: 201.5 kB / 0.8882 GB, free: 10.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.816e-05/0.7253, allocations: 8 kB / 0.8883 GB, free: 10.1 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001033/0.7263, allocations: 116.8 kB / 0.8884 GB, free: 9.984 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008513/0.7272, allocations: 115.8 kB / 0.8885 GB, free: 9.871 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008458/0.7281, allocations: 0.6226 MB / 0.8891 GB, free: 9.223 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001516/0.7297, allocations: 99.39 kB / 0.8892 GB, free: 9.125 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001624/0.7299, allocations: 27.98 kB / 0.8892 GB, free: 9.098 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.421e-05/0.7299, allocations: 4 kB / 0.8892 GB, free: 9.094 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003573/0.7335, allocations: 0.6054 MB / 0.8898 GB, free: 8.484 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.785e-05/0.7336, allocations: 11.95 kB / 0.8898 GB, free: 8.473 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008792/0.7345, allocations: 121.1 kB / 0.8899 GB, free: 8.352 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008132/0.7353, allocations: 115.8 kB / 0.89 GB, free: 8.238 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007769/0.7361, allocations: 0.6226 MB / 0.8906 GB, free: 7.59 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00134/0.7375, allocations: 87.45 kB / 0.8907 GB, free: 7.504 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001234/0.7376, allocations: 31.98 kB / 0.8908 GB, free: 7.473 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0007634/0.7384, allocations: 336.9 kB / 0.8911 GB, free: 7.133 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003163/0.7387, allocations: 90.88 kB / 0.8912 GB, free: 7.043 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003441/0.7422, allocations: 1.02 MB / 0.8922 GB, free: 6.027 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002292/0.7445, allocations: 0.9164 MB / 0.8931 GB, free: 5.043 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.759e-05/0.7446, allocations: 15.92 kB / 0.8931 GB, free: 5.027 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008045/0.7454, allocations: 291.5 kB / 0.8933 GB, free: 4.723 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002075/0.7456, allocations: 19.98 kB / 0.8934 GB, free: 4.703 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/0.7466, allocations: 52 kB / 0.8934 GB, free: 4.652 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001744/0.7468, allocations: 56.42 kB / 0.8935 GB, free: 4.594 MB / 442.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002764/0.7496, allocations: 0.8447 MB / 0.8943 GB, free: 3.742 MB / 442.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.003165/0.7528, allocations: 1.255 MB / 0.8955 GB, free: 2.469 MB / 442.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000824/0.7537, allocations: 320.4 kB / 0.8958 GB, free: 2.156 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001646/0.7554, allocations: 0.6098 MB / 0.8964 GB, free: 1.535 MB / 442.7 MB Notification: Performance of Backend: time 1.082e-06/0.7554, allocations: 192 / 0.8964 GB, free: 1.535 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004476/0.7599, allocations: 1.216 MB / 0.8976 GB, free: 320 kB / 442.7 MB Notification: Performance of SimCode: time 0.007858/0.7678, allocations: 2.996 MB / 0.9005 GB, free: 13.25 MB / 458.7 MB Notification: Performance of Templates: time 0.07512/0.843, allocations: 24 MB / 0.924 GB, free: 5.5 MB / 474.7 MB