Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") translateModel(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001856/0.001856, allocations: 113.7 kB / 16.38 MB, free: 5.547 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002166/0.002166, allocations: 188 kB / 17.31 MB, free: 5.188 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.564/1.564, allocations: 205.1 MB / 223.2 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.824/1.824, allocations: 292.3 MB / 0.5496 GB, free: 17.53 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001713/0.001713, allocations: 67.91 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2756/0.2773, allocations: 114.5 MB / 0.7848 GB, free: 3.16 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.5267/0.8041, allocations: 44.65 MB / 0.8284 GB, free: 20.65 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01816/0.8223, allocations: 13 MB / 0.8411 GB, free: 11.37 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002318/0.8246, allocations: 42.5 kB / 0.8411 GB, free: 11.35 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.001859/0.8265, allocations: 0.6014 MB / 0.8417 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.006601/0.8331, allocations: 1.961 MB / 0.8436 GB, free: 9.805 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.004054/0.8372, allocations: 1.318 MB / 0.8449 GB, free: 9.09 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.005017/0.8423, allocations: 3.23 MB / 0.8481 GB, free: 7.508 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00197/0.8442, allocations: 1.043 MB / 0.8491 GB, free: 7.051 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003777/0.848, allocations: 1.35 MB / 0.8504 GB, free: 6.383 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00176/0.8498, allocations: 0.9297 MB / 0.8513 GB, free: 5.945 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0002331/0.8501, allocations: 128.2 kB / 0.8514 GB, free: 5.945 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004111/0.8542, allocations: 1.564 MB / 0.853 GB, free: 5.379 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0003563/0.8545, allocations: 287.4 kB / 0.8532 GB, free: 5.191 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0008869/0.8554, allocations: 0.6773 MB / 0.8539 GB, free: 4.77 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004768/0.8602, allocations: 2.437 MB / 0.8563 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.8602, allocations: 0.8906 kB / 0.8563 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.505e-06/0.8603, allocations: 0 / 0.8563 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.639e-05/0.8603, allocations: 5.219 kB / 0.8563 GB, free: 3.875 MB / 0.6544 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.00361/0.8639, allocations: 1.642 MB / 0.8579 GB, free: 2.77 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.864, allocations: 9.641 kB / 0.8579 GB, free: 2.77 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004038/0.8644, allocations: 130.9 kB / 0.858 GB, free: 2.707 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002414/0.8668, allocations: 1.216 MB / 0.8592 GB, free: 1.992 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.176e-05/0.8668, allocations: 54.91 kB / 0.8593 GB, free: 1.965 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001127/0.867, allocations: 65.22 kB / 0.8593 GB, free: 1.945 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001279/0.8683, allocations: 0.7581 MB / 0.8601 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.51e-05/0.8683, allocations: 5.438 kB / 0.8601 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.437e-05/0.8684, allocations: 26.47 kB / 0.8601 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.832e-05/0.8684, allocations: 17.44 kB / 0.8601 GB, free: 1.551 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009407/0.8693, allocations: 0.5339 MB / 0.8606 GB, free: 1.348 MB / 0.6544 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.005105/0.8745, allocations: 4.537 MB / 0.8651 GB, free: 13.39 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008211/0.8753, allocations: 356.9 kB / 0.8654 GB, free: 13.21 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003415/0.8757, allocations: 203.7 kB / 0.8656 GB, free: 13.11 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001486/0.8772, allocations: 1.512 MB / 0.8671 GB, free: 11.34 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.093e-05/0.8772, allocations: 33.47 kB / 0.8671 GB, free: 11.3 MB / 0.67 GB Notification: Performance of pre-optimization done (n=43): time 2.605e-06/0.8772, allocations: 0 / 0.8671 GB, free: 11.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=43): time 0.002474/0.8797, allocations: 0.8878 MB / 0.868 GB, free: 10.79 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.8797, allocations: 59.88 kB / 0.868 GB, free: 10.73 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001672/0.8814, allocations: 0.893 MB / 0.8689 GB, free: 10.21 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 9.181e-05/0.8815, allocations: 36.98 kB / 0.869 GB, free: 10.17 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004483/0.882, allocations: 498 kB / 0.8694 GB, free: 9.738 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001907/0.8822, allocations: 152.5 kB / 0.8696 GB, free: 9.605 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002007/0.8824, allocations: 109.6 kB / 0.8697 GB, free: 9.539 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.8826, allocations: 330.9 kB / 0.87 GB, free: 9.215 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003635/0.8829, allocations: 181.9 kB / 0.8702 GB, free: 9.121 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005411/0.8835, allocations: 321.8 kB / 0.8705 GB, free: 8.852 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009693/0.8845, allocations: 0.5287 MB / 0.871 GB, free: 8.473 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.8845, allocations: 1.344 kB / 0.871 GB, free: 8.473 MB / 0.67 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00186/0.8863, allocations: 0.7222 MB / 0.8717 GB, free: 8.094 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.145e-05/0.8864, allocations: 7.375 kB / 0.8717 GB, free: 8.094 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.322e-05/0.8864, allocations: 5.375 kB / 0.8717 GB, free: 8.094 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006008/0.887, allocations: 117.3 kB / 0.8718 GB, free: 8.043 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004082/0.8874, allocations: 117 kB / 0.8719 GB, free: 8.012 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006148/0.8881, allocations: 0.6239 MB / 0.8725 GB, free: 7.422 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008339/0.8889, allocations: 62.17 kB / 0.8726 GB, free: 7.379 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.218e-05/0.889, allocations: 29.92 kB / 0.8726 GB, free: 7.371 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007847/0.8898, allocations: 388.8 kB / 0.873 GB, free: 7.125 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004416/0.8902, allocations: 320.7 kB / 0.8733 GB, free: 6.859 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008396/0.8911, allocations: 0.5203 MB / 0.8738 GB, free: 6.48 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.226e-06/0.8911, allocations: 2.25 kB / 0.8738 GB, free: 6.48 MB / 0.67 GB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.001736/0.8928, allocations: 0.7147 MB / 0.8745 GB, free: 6.105 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.8929, allocations: 6.656 kB / 0.8745 GB, free: 6.105 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.952e-05/0.8929, allocations: 6.312 kB / 0.8745 GB, free: 6.105 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005186/0.8934, allocations: 115.6 kB / 0.8746 GB, free: 6.055 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003915/0.8938, allocations: 120.1 kB / 0.8747 GB, free: 6.02 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005156/0.8944, allocations: 0.627 MB / 0.8754 GB, free: 5.426 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007074/0.8951, allocations: 47.14 kB / 0.8754 GB, free: 5.395 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.985e-05/0.8952, allocations: 28.8 kB / 0.8754 GB, free: 5.387 MB / 0.67 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 (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,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0002367/0.8954, allocations: 210.2 kB / 0.8756 GB, free: 5.184 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002257/0.8956, allocations: 93.59 kB / 0.8757 GB, free: 5.137 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00232/0.898, allocations: 1.011 MB / 0.8767 GB, free: 4.598 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001502/0.8995, allocations: 0.9252 MB / 0.8776 GB, free: 3.938 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.548e-05/0.8995, allocations: 2.094 kB / 0.8776 GB, free: 3.938 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005569/0.9001, allocations: 275.6 kB / 0.8779 GB, free: 3.691 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00015/0.9002, allocations: 14.09 kB / 0.8779 GB, free: 3.68 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004764/0.9007, allocations: 22.55 kB / 0.8779 GB, free: 3.668 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001327/0.9008, allocations: 52.45 kB / 0.878 GB, free: 3.641 MB / 0.67 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001693/0.9025, allocations: 0.8374 MB / 0.8788 GB, free: 3.156 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002045/0.9046, allocations: 1.26 MB / 0.88 GB, free: 2.391 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005716/0.9052, allocations: 317.5 kB / 0.8803 GB, free: 2.223 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001116/0.9063, allocations: 0.6351 MB / 0.8809 GB, free: 1.844 MB / 0.67 GB Notification: Performance of Backend: time 5.61e-07/0.9063, allocations: 0 / 0.8809 GB, free: 1.844 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003744/0.9101, allocations: 1.243 MB / 0.8821 GB, free: 1.172 MB / 0.67 GB Notification: Performance of SimCode: time 0.004574/0.9147, allocations: 2.596 MB / 0.8847 GB, free: 15.43 MB / 0.6856 GB Notification: Performance of Templates: time 0.04475/0.9594, allocations: 26.12 MB / 0.9102 GB, free: 9.082 MB / 0.7012 GB make -j1 -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.makefile (rm -f Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & ./Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1)