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.002425/0.00243, allocations: 354.4 kB / 15.94 MB, free: 6.207 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.452/1.452, allocations: 165.8 MB / 182.5 MB, free: 5.391 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.237/4.237, allocations: 410.8 MB / 0.5995 GB, free: 15.22 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.001681/0.001681, allocations: 191.9 kB / 0.6662 GB, free: 6.949 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007775/0.0007777, allocations: 20 kB / 0.7423 GB, free: 8.973 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3905/0.3913, allocations: 67.43 MB / 0.8081 GB, free: 28.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.07643/0.4678, allocations: 41.13 MB / 0.8483 GB, free: 3.562 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.02154/0.4894, allocations: 12.07 MB / 0.8601 GB, free: 7.477 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001707/0.4911, allocations: 39.75 kB / 0.8601 GB, free: 7.438 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001968/0.4931, allocations: 465 kB / 0.8606 GB, free: 6.98 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007222/0.5004, allocations: 1.902 MB / 0.8624 GB, free: 5.07 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0049/0.5053, allocations: 1.2 MB / 0.8636 GB, free: 3.883 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.006198/0.5115, allocations: 3.626 MB / 0.8672 GB, free: 252 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00169/0.5132, allocations: 0.7343 MB / 0.8679 GB, free: 15.49 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002814/0.5161, allocations: 1.034 MB / 0.8689 GB, free: 14.45 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001957/0.5181, allocations: 0.8361 MB / 0.8697 GB, free: 13.61 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002647/0.5184, allocations: 44 kB / 0.8697 GB, free: 13.57 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003228/0.5216, allocations: 0.943 MB / 0.8707 GB, free: 12.62 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004068/0.5221, allocations: 207 kB / 0.8709 GB, free: 12.42 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005756/0.5227, allocations: 273.1 kB / 0.8711 GB, free: 12.15 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003209/0.5259, allocations: 1.676 MB / 0.8728 GB, free: 10.47 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.239e-06/0.5259, allocations: 0 / 0.8728 GB, free: 10.47 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.501e-06/0.526, allocations: 0 / 0.8728 GB, free: 10.47 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.209e-05/0.526, allocations: 0 / 0.8728 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.003591/0.5296, allocations: 1.417 MB / 0.8741 GB, free: 9 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.28e-05/0.5296, allocations: 8.031 kB / 0.8741 GB, free: 8.992 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005065/0.5302, allocations: 138.4 kB / 0.8743 GB, free: 8.855 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00344/0.5336, allocations: 1.159 MB / 0.8754 GB, free: 7.652 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.589e-05/0.5337, allocations: 53.31 kB / 0.8755 GB, free: 7.598 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001443/0.5339, allocations: 64 kB / 0.8755 GB, free: 7.535 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001804/0.5357, allocations: 0.7552 MB / 0.8763 GB, free: 6.746 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.696e-05/0.5358, allocations: 4 kB / 0.8763 GB, free: 6.742 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.699e-05/0.5359, allocations: 28 kB / 0.8763 GB, free: 6.715 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.004e-05/0.5359, allocations: 23.94 kB / 0.8763 GB, free: 6.691 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001411/0.5374, allocations: 0.5282 MB / 0.8768 GB, free: 6.164 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.007296/0.5447, allocations: 4.516 MB / 0.8812 GB, free: 1.254 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001037/0.5457, allocations: 370.6 kB / 0.8816 GB, free: 0.8828 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004934/0.5463, allocations: 209 kB / 0.8818 GB, free: 0.6758 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001838/0.5481, allocations: 1.527 MB / 0.8833 GB, free: 14.82 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.33e-05/0.5482, allocations: 34.56 kB / 0.8833 GB, free: 14.77 MB / 442.7 MB Notification: Performance of pre-optimization done (n=43): time 3.741e-06/0.5482, allocations: 0 / 0.8833 GB, free: 14.77 MB / 442.7 MB Notification: Performance of matching and sorting (n=43): time 0.003062/0.5513, allocations: 0.8811 MB / 0.8842 GB, free: 13.86 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.718e-05/0.5514, allocations: 59.41 kB / 0.8842 GB, free: 13.79 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001817/0.5532, allocations: 0.8792 MB / 0.8851 GB, free: 12.89 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 9.977e-05/0.5533, allocations: 33.7 kB / 0.8851 GB, free: 12.85 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005407/0.5539, allocations: 487.8 kB / 0.8856 GB, free: 12.37 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002073/0.5541, allocations: 157.8 kB / 0.8857 GB, free: 12.21 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.45e-05/0.5542, allocations: 12 kB / 0.8857 GB, free: 12.2 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001742/0.5544, allocations: 322 kB / 0.8861 GB, free: 11.88 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004852/0.5549, allocations: 177 kB / 0.8862 GB, free: 11.71 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000607/0.5555, allocations: 332.8 kB / 0.8865 GB, free: 11.32 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005674/0.5561, allocations: 228.6 kB / 0.8868 GB, free: 11.1 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.082e-06/0.5561, allocations: 3.953 kB / 0.8868 GB, free: 11.09 MB / 442.7 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.002266/0.5584, allocations: 0.7174 MB / 0.8875 GB, free: 10.37 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001825/0.5586, allocations: 201.5 kB / 0.8877 GB, free: 10.11 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.693e-05/0.5586, allocations: 8 kB / 0.8877 GB, free: 10.11 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007503/0.5594, allocations: 116.8 kB / 0.8878 GB, free: 9.988 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005765/0.56, allocations: 115.8 kB / 0.8879 GB, free: 9.875 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007473/0.5607, allocations: 0.6226 MB / 0.8885 GB, free: 9.227 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001002/0.5618, allocations: 99.39 kB / 0.8886 GB, free: 9.129 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001009/0.5619, allocations: 31.98 kB / 0.8886 GB, free: 9.098 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.176e-05/0.5619, allocations: 4 kB / 0.8886 GB, free: 9.094 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001888/0.5638, allocations: 0.6056 MB / 0.8892 GB, free: 8.484 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.626e-05/0.5639, allocations: 12.09 kB / 0.8892 GB, free: 8.473 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006833/0.5646, allocations: 112.8 kB / 0.8893 GB, free: 8.359 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005567/0.5651, allocations: 119.8 kB / 0.8894 GB, free: 8.242 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007158/0.5659, allocations: 0.6187 MB / 0.8901 GB, free: 7.598 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/0.5669, allocations: 91.45 kB / 0.8901 GB, free: 7.508 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.345e-05/0.567, allocations: 27.98 kB / 0.8902 GB, free: 7.48 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.0006767/0.5677, allocations: 342 kB / 0.8905 GB, free: 7.137 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000234/0.5679, allocations: 98.88 kB / 0.8906 GB, free: 7.039 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002797/0.5707, allocations: 1.012 MB / 0.8916 GB, free: 6.031 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.983e-05/0.5708, allocations: 15.95 kB / 0.8916 GB, free: 6.016 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.231e-06/0.5708, allocations: 0 / 0.8916 GB, free: 6.016 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001915/0.5728, allocations: 0.9203 MB / 0.8925 GB, free: 5.027 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004586/0.5774, allocations: 1.947 MB / 0.8944 GB, free: 3.012 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.427e-05/0.5774, allocations: 4 kB / 0.8944 GB, free: 3.008 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005176/0.578, allocations: 91.81 kB / 0.8945 GB, free: 2.918 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004892/0.5785, allocations: 84.84 kB / 0.8946 GB, free: 2.832 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.324e-05/0.5785, allocations: 23.98 kB / 0.8946 GB, free: 2.809 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006762/0.5792, allocations: 0.6187 MB / 0.8952 GB, free: 2.164 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.039e-06/0.5793, allocations: 0 / 0.8952 GB, free: 2.164 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002959/0.5822, allocations: 1.247 MB / 0.8964 GB, free: 0.8867 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006903/0.5829, allocations: 295.5 kB / 0.8967 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001598/0.5831, allocations: 15.95 kB / 0.8967 GB, free: 0.5625 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008204/0.584, allocations: 71.84 kB / 0.8968 GB, free: 0.4922 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001329/0.5841, allocations: 48.44 kB / 0.8968 GB, free: 456 kB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.303e-05/0.5842, allocations: 27.98 kB / 0.8968 GB, free: 428 kB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001335/0.5856, allocations: 0.6136 MB / 0.8974 GB, free: 15.79 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.05e-07/0.5856, allocations: 0 / 0.8974 GB, free: 15.79 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.002302/0.5879, allocations: 0.612 MB / 0.898 GB, free: 15.18 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (pip.cor.del.x,pip.cor.timDel.x,pip.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (55): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001313/0.5892, allocations: 0.5067 MB / 0.8985 GB, free: 14.68 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002406/0.5917, allocations: 0.9246 MB / 0.8994 GB, free: 13.73 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/0.5917, allocations: 0 / 0.8994 GB, free: 13.73 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008887/0.5926, allocations: 406.6 kB / 0.8998 GB, free: 13.32 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003254/0.5959, allocations: 472.9 kB / 0.9003 GB, free: 12.86 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004771/0.6007, allocations: 2.33 MB / 0.9026 GB, free: 10.49 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009333/0.6017, allocations: 1.077 MB / 0.9036 GB, free: 9.383 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.001403/0.6031, allocations: 268.8 kB / 0.9039 GB, free: 9.129 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000293/0.6034, allocations: 107.3 kB / 0.904 GB, free: 9.023 MB / 458.7 MB Notification: Performance of SimCode: time 1.692e-06/0.6034, allocations: 0 / 0.904 GB, free: 9.023 MB / 458.7 MB Notification: Performance of Templates: time 0.05677/0.6602, allocations: 23.07 MB / 0.9265 GB, free: 2.242 MB / 474.7 MB