Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.684/1.684, allocations: 288.4 MB / 304.3 MB, free: 8.109 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009792/0.0009792, allocations: 182.7 kB / 372.9 MB, free: 10.15 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.428/1.428, allocations: 205.4 MB / 0.6316 GB, free: 9.875 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006911/0.0006912, allocations: 106.2 kB / 0.745 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004029/0.000403, allocations: 11.5 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2101/0.2105, allocations: 115.3 MB / 0.9807 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.0396/0.2502, allocations: 41.16 MB / 1.021 GB, free: 2.066 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01732/0.2675, allocations: 12.16 MB / 1.033 GB, free: 5.887 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002015/0.2696, allocations: 31.81 kB / 1.033 GB, free: 5.855 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.002045/0.2717, allocations: 417.2 kB / 1.033 GB, free: 5.445 MB / 0.6511 GB Notification: Performance of NFTyping.typeBindings: time 0.006078/0.2778, allocations: 1.63 MB / 1.035 GB, free: 3.809 MB / 0.6511 GB Notification: Performance of NFTyping.typeClassSections: time 0.003907/0.2817, allocations: 0.978 MB / 1.036 GB, free: 2.836 MB / 0.6511 GB Notification: Performance of NFFlatten.flatten: time 0.00565/0.2874, allocations: 3.631 MB / 1.039 GB, free: 15.19 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001947/0.2894, allocations: 0.8345 MB / 1.04 GB, free: 14.34 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00301/0.2924, allocations: 1.112 MB / 1.041 GB, free: 13.22 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00193/0.2943, allocations: 0.8206 MB / 1.042 GB, free: 12.4 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.0003484/0.2947, allocations: 52 kB / 1.042 GB, free: 12.35 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003459/0.2982, allocations: 1.352 MB / 1.043 GB, free: 10.99 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.000421/0.2986, allocations: 199 kB / 1.044 GB, free: 10.8 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.001387/0.3, allocations: 0.5849 MB / 1.044 GB, free: 10.2 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.003113/0.3031, allocations: 1.808 MB / 1.046 GB, free: 8.391 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/0.3032, allocations: 0 / 1.046 GB, free: 8.391 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.485e-06/0.3032, allocations: 0 / 1.046 GB, free: 8.391 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 6.228e-05/0.3032, allocations: 0 / 1.046 GB, free: 8.391 MB / 0.6667 GB 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.003594/0.3068, allocations: 1.421 MB / 1.047 GB, free: 6.914 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.3069, allocations: 12.02 kB / 1.047 GB, free: 6.902 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005202/0.3074, allocations: 131.4 kB / 1.047 GB, free: 6.773 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00307/0.3105, allocations: 1.201 MB / 1.049 GB, free: 5.527 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.578e-05/0.3106, allocations: 57.3 kB / 1.049 GB, free: 5.473 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001439/0.3107, allocations: 67.98 kB / 1.049 GB, free: 5.406 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/0.3122, allocations: 0.7552 MB / 1.049 GB, free: 4.621 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.948e-05/0.3122, allocations: 4 kB / 1.049 GB, free: 4.617 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.897e-05/0.3123, allocations: 24 kB / 1.05 GB, free: 4.594 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.17e-05/0.3124, allocations: 16 kB / 1.05 GB, free: 4.578 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001104/0.3135, allocations: 0.532 MB / 1.05 GB, free: 4.043 MB / 0.6667 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.005415/0.3189, allocations: 4.516 MB / 1.054 GB, free: 15.13 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007235/0.3196, allocations: 368.9 kB / 1.055 GB, free: 14.76 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003306/0.32, allocations: 208.7 kB / 1.055 GB, free: 14.55 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001336/0.3213, allocations: 1.523 MB / 1.056 GB, free: 12.7 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.454e-05/0.3214, allocations: 38.56 kB / 1.057 GB, free: 12.65 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=43): time 2.615e-06/0.3214, allocations: 4 kB / 1.057 GB, free: 12.65 MB / 0.6823 GB Notification: Performance of matching and sorting (n=43): time 0.002275/0.3237, allocations: 0.8812 MB / 1.057 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.3237, allocations: 59.39 kB / 1.057 GB, free: 11.67 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001419/0.3252, allocations: 0.8792 MB / 1.058 GB, free: 10.77 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.85e-05/0.3252, allocations: 37.7 kB / 1.058 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004003/0.3256, allocations: 483.8 kB / 1.059 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001586/0.3258, allocations: 161.7 kB / 1.059 GB, free: 10.08 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/0.3258, allocations: 12 kB / 1.059 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.326, allocations: 322 kB / 1.059 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003221/0.3263, allocations: 177 kB / 1.059 GB, free: 9.574 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004724/0.3268, allocations: 331 kB / 1.06 GB, free: 9.191 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008467/0.3276, allocations: 0.5213 MB / 1.06 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.3277, allocations: 0 / 1.06 GB, free: 8.613 MB / 0.6823 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001645/0.3293, allocations: 0.706 MB / 1.061 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001913/0.3295, allocations: 213.3 kB / 1.061 GB, free: 7.629 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.667e-05/0.3295, allocations: 12 kB / 1.061 GB, free: 7.617 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006088/0.3302, allocations: 116.8 kB / 1.061 GB, free: 7.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000395/0.3306, allocations: 123.8 kB / 1.061 GB, free: 7.379 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005286/0.3311, allocations: 0.6226 MB / 1.062 GB, free: 6.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008247/0.332, allocations: 91.39 kB / 1.062 GB, free: 6.641 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.82e-05/0.332, allocations: 31.98 kB / 1.062 GB, free: 6.609 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.749e-06/0.3321, allocations: 8 kB / 1.062 GB, free: 6.602 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001338/0.3334, allocations: 0.6089 MB / 1.063 GB, free: 5.988 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/0.3334, allocations: 4 kB / 1.063 GB, free: 5.984 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005077/0.334, allocations: 121 kB / 1.063 GB, free: 5.863 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003779/0.3343, allocations: 119.8 kB / 1.063 GB, free: 5.746 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004911/0.3348, allocations: 0.6148 MB / 1.064 GB, free: 5.105 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007874/0.3356, allocations: 101.7 kB / 1.064 GB, free: 5.008 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.257e-05/0.3357, allocations: 27.98 kB / 1.064 GB, free: 4.98 MB / 0.6823 GB 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.0005555/0.3363, allocations: 337 kB / 1.064 GB, free: 4.641 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002139/0.3365, allocations: 98.78 kB / 1.064 GB, free: 4.543 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00211/0.3386, allocations: 1.014 MB / 1.065 GB, free: 3.535 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001353/0.34, allocations: 0.9124 MB / 1.066 GB, free: 2.555 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.712e-05/0.34, allocations: 7.984 kB / 1.066 GB, free: 2.547 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005707/0.3406, allocations: 291.5 kB / 1.066 GB, free: 2.242 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001929/0.3408, allocations: 12 kB / 1.066 GB, free: 2.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006505/0.3415, allocations: 63.8 kB / 1.066 GB, free: 2.168 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000128/0.3416, allocations: 52.48 kB / 1.066 GB, free: 2.117 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001585/0.3432, allocations: 0.8408 MB / 1.067 GB, free: 1.266 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.452/0.7953, allocations: 1.263 MB / 1.068 GB, free: 88.95 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000866/0.7962, allocations: 315.1 kB / 1.069 GB, free: 88.94 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001213/0.7974, allocations: 0.6106 MB / 1.069 GB, free: 88.83 MB / 0.6823 GB Notification: Performance of Backend: time 9.01e-07/0.7974, allocations: 1.938 kB / 1.069 GB, free: 88.83 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003296/0.8007, allocations: 1.244 MB / 1.071 GB, free: 88.64 MB / 0.6823 GB Notification: Performance of SimCode: time 0.004228/0.805, allocations: 2.991 MB / 1.073 GB, free: 86.98 MB / 0.6823 GB Notification: Performance of Templates: time 0.05335/0.8583, allocations: 24.62 MB / 1.098 GB, free: 79.23 MB / 0.6823 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1)